Skip to content

Commit

Permalink
correct the docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Ermashev committed Aug 7, 2020
1 parent d92af86 commit 6985787
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ In this case we don't really care about the current mode, we just work with the
use Tiny\Http\RequestCliParams;
use Tiny\Http\RequestHttpParams;
// a good tip: the should be placed in a factory
// a good tip: this should be placed in a factory
$request = new Request((php_sapi_name() === 'cli'
? new RequestCliParams($_SERVER)
: new RequestHttpParams($_SERVER)
Expand Down Expand Up @@ -161,7 +161,7 @@ If we don't need to know about the current context we can build an abstraction l
use Tiny\Http\ResponseHttp;
use Tiny\Http\ResponseHttpUtils;
// a good tip: the should be placed in a factory
// a good tip: this should be placed in a factory
$response = (php_sapi_name() === 'cli'
? new ResponseCli()
: new ResponseHttp(
Expand Down

0 comments on commit 6985787

Please sign in to comment.