Skip to content

Commit ad838b7

Browse files
authored
Merge pull request #1 from michaelnabil230/patch-1
Fix typo
2 parents 57c7ac1 + d27dd32 commit ad838b7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ class PostPolicy
136136
*/
137137
public function update(User $user, Post $post): Response|bool
138138
{
139-
return ($user->can('update post');
139+
return $user->can('update post');
140140
}
141141

142142
/**
@@ -148,7 +148,7 @@ class PostPolicy
148148
*/
149149
public function delete(User $user, Post $post): Response|bool
150150
{
151-
return ($user->can('delete post');
151+
return $user->can('delete post');
152152
}
153153

154154
/**

0 commit comments

Comments
 (0)