Skip to content

Commit

Permalink
[PageFlow] changed the type of the argument of the PageFlowCache::__c…
Browse files Browse the repository at this point in the history
…onstruct() method to PageFlowInterface (Issue piece#4)
  • Loading branch information
iteman committed Aug 22, 2013
1 parent 645ca0d commit d6a2d3f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/Piece/Flow/PageFlow/PageFlowCache.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
/**
* PHP version 5.3
*
* Copyright (c) 2012 KUBO Atsuhiro <[email protected]>,
* Copyright (c) 2012-2013 KUBO Atsuhiro <[email protected]>,
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
Expand All @@ -29,7 +29,7 @@
* POSSIBILITY OF SUCH DAMAGE.
*
* @package Piece_Flow
* @copyright 2012 KUBO Atsuhiro <[email protected]>
* @copyright 2012-2013 KUBO Atsuhiro <[email protected]>
* @license http://www.opensource.org/licenses/bsd-license.php New BSD License
* @version Release: @package_version@
* @since File available since Release 2.0.0
Expand All @@ -42,7 +42,7 @@

/**
* @package Piece_Flow
* @copyright 2012 KUBO Atsuhiro <[email protected]>
* @copyright 2012-2013 KUBO Atsuhiro <[email protected]>
* @license http://www.opensource.org/licenses/bsd-license.php New BSD License
* @version Release: @package_version@
* @since Class available since Release 2.0.0
Expand Down Expand Up @@ -107,9 +107,9 @@ public function read()
}

/**
* @param \Piece\Flow\PageFlow\PageFlow $pageFlow
* @param \Piece\Flow\PageFlow\PageFlowInterface $pageFlow
*/
public function write(PageFlow $pageFlow)
public function write(PageFlowInterface $pageFlow)
{
$pageFlowClass = new \ReflectionObject($pageFlow);
$this->configCache->write($this->createContents(addslashes(serialize($pageFlow))), array(
Expand Down

0 comments on commit d6a2d3f

Please sign in to comment.