Skip to content

Commit

Permalink
Fixed event signature
Browse files Browse the repository at this point in the history
  • Loading branch information
Gianluca Arbezzano committed Sep 4, 2015
1 parent ce7a426 commit fd2535b
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions src/Event/HttpFlowEvent.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
namespace GianArb\Penny\Event;

use Exception;
use Psr\Http\Message\RequestInterface;
use Psr\Http\Message\ResponseInterface;
use Zend\EventManager\Event;

class HttpFlowEvent extends Event
Expand Down Expand Up @@ -63,20 +61,16 @@ public function getResponse()

/**
* Response setter.
*
* @param ResponseInterface $response Representation of an outgoing, server-side response.
*/
public function setResponse(ResponseInterface $response)
public function setResponse($response)
{
$this->response = $response;
}

/**
* Request setter.
*
* @param RequestInterface $request Representation of an outgoing, client-side request.
*/
public function setRequest(RequestInterface $request)
public function setRequest($request)
{
$this->request = $request;
}
Expand Down

0 comments on commit fd2535b

Please sign in to comment.