Skip to content

Commit

Permalink
Merge pull request #7 from chimeraphp/fix-application-interface
Browse files Browse the repository at this point in the history
Fix application interface
  • Loading branch information
lcobucci authored Jun 19, 2019
2 parents 1913a4c + c6f8cb0 commit d7856d2
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/Application.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,9 @@

namespace Chimera\Routing;

use Psr\Http\Message\ResponseInterface;
use Psr\Http\Message\ServerRequestInterface;
use Psr\Http\Server\RequestHandlerInterface;

interface Application
interface Application extends RequestHandlerInterface
{
public function handle(ServerRequestInterface $request): ResponseInterface;

public function run(): void;
}

0 comments on commit d7856d2

Please sign in to comment.