File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 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
163163 /**
164164 * Get the class name for the policy.
165165 *
166- * @param string $name The name of the policy
166+ * @param string $name The name of the policy
167167 */
168168 public function getClassName (string $ name ): string
169169 {
@@ -177,7 +177,7 @@ public function getClassName(string $name): string
177177 /**
178178 * Get the namespace for the model.
179179 *
180- * @param string $model The name of the model
180+ * @param string $model The name of the model
181181 */
182182 public function getNamespacedModel (string $ model ): string
183183 {
Original file line number Diff line number Diff line change @@ -28,9 +28,9 @@ class {{ class }}
2828 * @param {{ model }} $model
2929 * @return Response|bool
3030 */
31- public function view({{ user }} $user, {{ userModel }} $model): bool
31+ public function view({{ user }} $user, {{ model }} $model): bool
3232 {
33- return $user->can('view {{ modelSingularLowerCase }}', $model)
33+ return $user->can('view {{ modelSingularLowerCase }}', $model);
3434 }
3535
3636 /**
You can’t perform that action at this time.
0 commit comments