Skip to content

Commit

Permalink
[Continuation] changed the type of the second argument of the PageFlo…
Browse files Browse the repository at this point in the history
…wInstance::__construct() method to PageFlowInterface (Issue piece#4)
  • Loading branch information
iteman committed Aug 22, 2013
1 parent 4945fa0 commit 645ca0d
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions src/Piece/Flow/Continuation/PageFlowInstance.php
Expand Up @@ -40,7 +40,6 @@
use Symfony\Component\EventDispatcher\EventDispatcherInterface;

use Piece\Flow\PageFlow\ActionInvokerInterface;
use Piece\Flow\PageFlow\PageFlow;
use Piece\Flow\PageFlow\PageFlowInterface;

/**
Expand All @@ -58,15 +57,15 @@ class PageFlowInstance implements PageFlowInterface
protected $id;

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

/**
* @param string $id
* @param \Piece\Flow\PageFlow\PageFlow $pageFlow
* @param string $id
* @param \Piece\Flow\PageFlow\PageFlowInterface $pageFlow
*/
public function __construct($id, PageFlow $pageFlow)
public function __construct($id, PageFlowInterface $pageFlow)
{
$this->id = $id;
$this->pageFlow = $pageFlow;
Expand Down

0 comments on commit 645ca0d

Please sign in to comment.