diff --git a/docs/docs/quick-start.md b/docs/docs/quick-start.md index 3789ebc..0aab369 100644 --- a/docs/docs/quick-start.md +++ b/docs/docs/quick-start.md @@ -170,11 +170,12 @@ return [ ], 'assertion_map' => [ 'edit' => function ($permission, IdentityInterface $identity = null, $resource = null) { - if ($resource->getOwnerId() === $identity->getId() { - return true; - } else { - return false; - } + if ($resource->getOwnerId() === $identity->getId()) { + return true; + } else { + return false; + } + }, ], ], ];