Skip to content

Commit d27dd32

Browse files
Fix typo
1 parent 57c7ac1 commit d27dd32

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)