Skip to content
This repository has been archived by the owner on Dec 12, 2021. It is now read-only.

Commit

Permalink
Errors in the example fixed [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
mkorkmaz committed Dec 19, 2018
1 parent 9f05654 commit 903e2fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ declare(strict_types=1);

$request = new PSR7ServerRequest(); // Let's say this class implements PSR7 ServerRequestInterface
$response = new PSR7ServerResponse(); // Let's say this class implements PSR7 ResponseInterface
$defaultReturnType = Selami\Router::JSON; // Possible values: Selami\Router::HTML, Selami\Router::JSON, Selami\Router::TEXT, Selami\Router::CUSTOM, Selami\Router::REDIRECT, Selami\Router::DOWNLOAD. To be used to send output.
$defaultReturnType = Selami\Router\Router::JSON; // Possible values: Selami\Router\Router::HTML, Selami\Router\Router::JSON, Selami\Router::TEXT, Selami\Router\Router::CUSTOM, Selami\Router\Router::REDIRECT, Selami\Router::DOWNLOAD. To be used to send output.
$requestMethod = 'GET'; // i.e. $_SERVER['REQUEST_METHOD']
$requestedUri = '/user/12/inbox'; // i.e. $_SERVER['REQUEST_URI']

Expand Down

0 comments on commit 903e2fb

Please sign in to comment.