Skip to content

Commit 224cebd

Browse files
Fixed typo on Authorization -> Inline Authorization (laravel#7971)
1 parent c24b35e commit 224cebd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

authorization.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ Gate::allowIf(fn ($user) => $user->isAdministrator());
233233
Gate::denyIf(fn ($user) => $user->banned());
234234
```
235235

236-
If the action is not authorized or if no user is currently authenticated, Laravel will automatically throw an `Illuminate\Auth\Access\AuthorizationException` exception. Instances of `AuthorizationException` are automatically converted to a 403 HTTP response by Laravel's exception handler:
236+
If the action is not authorized or if no user is currently authenticated, Laravel will automatically throw an `Illuminate\Auth\Access\AuthorizationException` exception. Instances of `AuthorizationException` are automatically converted to a 403 HTTP response by Laravel's exception handler.
237237

238238
<a name="creating-policies"></a>
239239
## Creating Policies

0 commit comments

Comments
 (0)