Skip to content

Commit

Permalink
composer fix
Browse files Browse the repository at this point in the history
  • Loading branch information
S1lentium committed Jul 29, 2017
1 parent 831ec65 commit 3f1161d
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 3 deletions.
15 changes: 15 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,19 @@
{
"name": "atomwares/atom-interfaces",
"type": "library",
"description": "Atom Framework Interfaces",
"keywords": [
"atom",
"atomframework",
"php",
"interfaces"
],
"license": "MIT",
"authors": [{
"name": "Safarov Alisher",
"email": "alisher.safarov@outlook.com",
"homepage": "http://atomframework.net"
}],
"require": {
"php": ">=5.6.0",
"http-interop/http-middleware": "^0.4.1",
Expand Down
6 changes: 3 additions & 3 deletions src/RouterInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

namespace Atom\Interfaces;

use Psr\Http\Message\RequestInterface;
use Psr\Http\Message\ServerRequestInterface;

/**
* Interface RouterInterface
Expand All @@ -17,9 +17,9 @@
interface RouterInterface
{
/**
* @param RequestInterface $request
* @param ServerRequestInterface $request
*
* @return RouteInterface
*/
public function dispatch(RequestInterface $request);
public function dispatch(ServerRequestInterface $request);
}

0 comments on commit 3f1161d

Please sign in to comment.