Skip to content

Commit

Permalink
[PageFlow] changed the type of the third argument of the EventContext…
Browse files Browse the repository at this point in the history
…::__construct() method to PageFlowInterface (Issue piece#4)
  • Loading branch information
iteman committed Aug 22, 2013
1 parent a7b92a7 commit 4945fa0
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/Piece/Flow/PageFlow/EventContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,16 +59,16 @@ class EventContext
protected $payload;

/**
* @var \Piece\Flow\PageFlow\PageFlow
* @var \Piece\Flow\PageFlow\PageFlowInterface
*/
protected $pageFlow;

/**
* @param \Stagehand\FSM\Event\EventInterface $event
* @param mixed $payload
* @param \Piece\Flow\PageFlow\PageFlow $pageFlow
* @param \Stagehand\FSM\Event\EventInterface $event
* @param mixed $payload
* @param \Piece\Flow\PageFlow\PageFlowInterface $pageFlow
*/
public function __construct(EventInterface $event, $payload, PageFlow $pageFlow)
public function __construct(EventInterface $event, $payload, PageFlowInterface $pageFlow)
{
$this->event = $event;
$this->payload = $payload;
Expand All @@ -92,7 +92,7 @@ public function getPayload()
}

/**
* @return \Piece\Flow\PageFlow\PageFlow
* @return \Piece\Flow\PageFlow\PageFlowInterface
*/
public function getPageFlow()
{
Expand Down

0 comments on commit 4945fa0

Please sign in to comment.