@@ -28,7 +28,7 @@ |
||
| 28 | 28 | |
| 29 | 29 | //Routes collections can then be added to the router: |
| 30 | 30 | $routeCollection = new \Ds\Router\RouteCollection(); |
| 31 | -$routeCollection->addRoute('GET','/some-path','handler::string',['routeName']); |
|
| 31 | +$routeCollection->addRoute('GET', '/some-path', 'handler::string', ['routeName']); |
|
| 32 | 32 | $router->withCollection($routeCollection); |
| 33 | 33 | |
| 34 | 34 | $app = new \StdClass(); |