From 4945fa00d5af2b92a1d48638ef83743049c122f4 Mon Sep 17 00:00:00 2001 From: KUBO Atsuhiro Date: Wed, 21 Aug 2013 17:42:34 +0900 Subject: [PATCH] [PageFlow] changed the type of the third argument of the EventContext::__construct() method to PageFlowInterface (Issue #4) --- src/Piece/Flow/PageFlow/EventContext.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/Piece/Flow/PageFlow/EventContext.php b/src/Piece/Flow/PageFlow/EventContext.php index 4339382..b117ff4 100644 --- a/src/Piece/Flow/PageFlow/EventContext.php +++ b/src/Piece/Flow/PageFlow/EventContext.php @@ -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; @@ -92,7 +92,7 @@ public function getPayload() } /** - * @return \Piece\Flow\PageFlow\PageFlow + * @return \Piece\Flow\PageFlow\PageFlowInterface */ public function getPageFlow() {