File tree 2 files changed +4
-4
lines changed 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -163,7 +163,7 @@ public function getNamespace(): string
163
163
/**
164
164
* Get the class name for the policy.
165
165
*
166
- * @param string $name The name of the policy
166
+ * @param string $name The name of the policy
167
167
*/
168
168
public function getClassName (string $ name ): string
169
169
{
@@ -177,7 +177,7 @@ public function getClassName(string $name): string
177
177
/**
178
178
* Get the namespace for the model.
179
179
*
180
- * @param string $model The name of the model
180
+ * @param string $model The name of the model
181
181
*/
182
182
public function getNamespacedModel (string $ model ): string
183
183
{
Original file line number Diff line number Diff line change @@ -28,9 +28,9 @@ class {{ class }}
28
28
* @param {{ model }} $model
29
29
* @return Response|bool
30
30
*/
31
- public function view({{ user }} $user, {{ userModel }} $model): bool
31
+ public function view({{ user }} $user, {{ model }} $model): bool
32
32
{
33
- return $user->can('view {{ modelSingularLowerCase }}', $model)
33
+ return $user->can('view {{ modelSingularLowerCase }}', $model);
34
34
}
35
35
36
36
/**
You can’t perform that action at this time.
0 commit comments