Skip to content

Commit c8d594a

Browse files
committed
Merge pull request #626 from marcorivm/patch-1
Add trailing commas to array elements to maintain consistency and mak…
2 parents 4f7547a + a5a8486 commit c8d594a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/getting-started/laravel-5.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Add this line to the `aliases` array:
2121

2222
Add the following line to your `app/Http/Kernel.php` file in the `$middleware` array
2323
```php
24-
\LucaDegasperi\OAuth2Server\Middleware\OAuthExceptionHandlerMiddleware::class
24+
\LucaDegasperi\OAuth2Server\Middleware\OAuthExceptionHandlerMiddleware::class,
2525
```
2626
This will catch any OAuth error and respond appropriately.
2727

@@ -30,7 +30,7 @@ Then add
3030
'oauth' => \LucaDegasperi\OAuth2Server\Middleware\OAuthMiddleware::class,
3131
'oauth-user' => \LucaDegasperi\OAuth2Server\Middleware\OAuthUserOwnerMiddleware::class,
3232
'oauth-client' => \LucaDegasperi\OAuth2Server\Middleware\OAuthClientOwnerMiddleware::class,
33-
'check-authorization-params' => \LucaDegasperi\OAuth2Server\Middleware\CheckAuthCodeRequestMiddleware::class
33+
'check-authorization-params' => \LucaDegasperi\OAuth2Server\Middleware\CheckAuthCodeRequestMiddleware::class,
3434
```
3535
to the `$routeMiddleware` array.
3636

0 commit comments

Comments
 (0)