We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 749cb08 commit 50aede3Copy full SHA for 50aede3
README.md
@@ -39,7 +39,7 @@ composer require gacela-project/router
39
```php
40
# `Bindings` and `Handlers` are optional, and you can place them in any order.
41
42
-$router = new Router(static function (Routes $routes, Bindings $bindings, Handlers $handlers) void {
+$router = new Router(function (Routes $routes, Bindings $bindings, Handlers $handlers) {
43
44
// Custom redirections
45
$routes->redirect('docs', 'https://gacela-project.com/');
0 commit comments