Skip to content

Commit fd1df29

Browse files
committed
fix: variables in stubs
1 parent 7fb94b2 commit fd1df29

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Commands/stubs/policy.user.stub

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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
/**

0 commit comments

Comments
 (0)