Skip to content

Commit 128f9ee

Browse files
Missing semi-colon (#10529)
1 parent d0c3d31 commit 128f9ee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

helpers.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2085,15 +2085,15 @@ The `uri` function generates a [fluent URI instance](#uri) for the given URI:
20852085
```php
20862086
$uri = uri('https://example.com')
20872087
->withPath('/users')
2088-
->withQuery(['page' => 1])
2088+
->withQuery(['page' => 1]);
20892089
```
20902090

20912091
If the `uri` function is given an array containing a callable controller and method pair, the function will create a `Uri` instance for the controller method's route path:
20922092

20932093
```php
20942094
use App\Http\Controllers\UserController;
20952095

2096-
$uri = uri([UserController::class, 'show'], ['user' => $user])
2096+
$uri = uri([UserController::class, 'show'], ['user' => $user]);
20972097
```
20982098

20992099
If the controller is invokable, you may simply provide the controller class name:

0 commit comments

Comments
 (0)