From d27dd320c65d04e71db880c0c64f8150454a7ea7 Mon Sep 17 00:00:00 2001 From: Michael Nabil <46572405+michaelnabil230@users.noreply.github.com> Date: Mon, 5 Sep 2022 15:40:40 +0200 Subject: [PATCH] Fix typo --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 448af3e..dc41c4a 100644 --- a/README.md +++ b/README.md @@ -136,7 +136,7 @@ class PostPolicy */ public function update(User $user, Post $post): Response|bool { - return ($user->can('update post'); + return $user->can('update post'); } /** @@ -148,7 +148,7 @@ class PostPolicy */ public function delete(User $user, Post $post): Response|bool { - return ($user->can('delete post'); + return $user->can('delete post'); } /**