From 9c34e31d9fde395c3ba26d754d1bb107607fab44 Mon Sep 17 00:00:00 2001 From: jessinthecloud Date: Mon, 15 Nov 2021 19:04:57 -0500 Subject: [PATCH] fix some typos --- laravel.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/laravel.md b/laravel.md index 8630eb8..cc5e460 100644 --- a/laravel.md +++ b/laravel.md @@ -158,7 +158,7 @@ php artisan down --redirect=/ ```bash php artisan up ``` -### Customize maintenance template +#### Customize maintenance template ``` resources/views/errors/503.blade.php ``` @@ -293,7 +293,7 @@ Route::get('/user/{id}', function ($id) { ``` ### Global Constraint -Always apply constraint to paramters with this name +Always apply constraint to parameters with this name ```php // in App\Providers\RouteServiceProvider public function boot() @@ -681,7 +681,7 @@ $token = $request->bearerToken(); $ipAddress = $request->ip(); ``` -### Content +### Content Type Return an array containing all of the content types accepted by the request ```php $contentTypes = $request->getAcceptableContentTypes();