We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 962e65a commit 0c9cd43Copy full SHA for 0c9cd43
2 files changed
.vscode/settings.json
@@ -0,0 +1,5 @@
1
+{
2
+ "cSpell.words": [
3
+ "Diactoros"
4
+ ]
5
+}
module-1/server/index.php
@@ -9,7 +9,8 @@
9
$responseFactory = new Laminas\Diactoros\ResponseFactory;
10
11
$strategy = new League\Route\Strategy\JsonStrategy($responseFactory);
12
-$router = (new League\Route\Router)->setStrategy($strategy);
+$router = new League\Route\Router;
13
+$router->setStrategy($strategy);
14
15
$router->group('/notes', function(\League\Route\RouteGroup $router) {
16
$router->get('/', 'Notes\Module1\Server::getNotes');
0 commit comments