Skip to content

Commit

Permalink
Remove unneeded leading slash in namespace name in usage docs
Browse files Browse the repository at this point in the history
It is optional, but for consistency let's remove it.
  • Loading branch information
Exagone313 committed May 18, 2021
1 parent 121cb68 commit f910d8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/5.x/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ $request = Laminas\Diactoros\ServerRequestFactory::fromGlobals(
$_SERVER, $_GET, $_POST, $_COOKIE, $_FILES
);

$responseFactory = new \Laminas\Diactoros\ResponseFactory();
$responseFactory = new Laminas\Diactoros\ResponseFactory();

$strategy = new League\Route\Strategy\JsonStrategy($responseFactory);
$router = (new League\Route\Router)->setStrategy($strategy);
Expand Down

0 comments on commit f910d8a

Please sign in to comment.