diff --git a/laravel/documentation/requests.md b/laravel/documentation/requests.md index 5a7426e2..97bb66ad 100644 --- a/laravel/documentation/requests.md +++ b/laravel/documentation/requests.md @@ -35,7 +35,7 @@ Sometimes you may need to determine if the current URI is a given string, or beg #### Determine if the current URI begins with "docs/": - if URI::is('docs/*')) + if (URI::is('docs/*')) { // The current URI begins with "docs/"! } @@ -74,4 +74,4 @@ Sometimes you may need to determine if the current URI is a given string, or beg if (Request::cli()) { // This request came from the CLI! - } \ No newline at end of file + }