Skip to content

Commit

Permalink
patch zendframework#5860 : on Cache component
Browse files Browse the repository at this point in the history
  • Loading branch information
samsonasik authored and Ocramius committed Mar 17, 2014
1 parent 39e71c9 commit 82493b5
Show file tree
Hide file tree
Showing 8 changed files with 7 additions and 9 deletions.
2 changes: 1 addition & 1 deletion library/Zend/Cache/Pattern/AbstractPattern.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ abstract class AbstractPattern implements PatternInterface
/**
* Set pattern options
*
* @param array|Traversable|PatternOptions $options
* @param PatternOptions $options
* @return AbstractPattern
* @throws Exception\InvalidArgumentException
*/
Expand Down
2 changes: 1 addition & 1 deletion library/Zend/Cache/Pattern/CaptureCache.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public function set($content, $pageId = null)
* Get from cache
*
* @param null|string $pageId
* @return bool|string
* @return string|null
* @throws Exception\LogicException
* @throws Exception\RuntimeException
*/
Expand Down
2 changes: 1 addition & 1 deletion library/Zend/Cache/Pattern/PatternInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public function setOptions(PatternOptions $options);
/**
* Get all pattern options
*
* @return array
* @return PatternOptions
*/
public function getOptions();
}
2 changes: 1 addition & 1 deletion library/Zend/Cache/Pattern/PatternOptions.php
Original file line number Diff line number Diff line change
Expand Up @@ -593,7 +593,7 @@ public function setObjectKey($objectKey)
* Used by:
* - ObjectCache
*
* @return mixed
* @return string
*/
public function getObjectKey()
{
Expand Down
2 changes: 1 addition & 1 deletion library/Zend/Cache/Storage/Adapter/ZendServerShm.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public function clearByNamespace($namespace)
/**
* Get total space in bytes
*
* @return int|float
* @return int
*/
public function getTotalSpace()
{
Expand Down
1 change: 0 additions & 1 deletion library/Zend/Cache/Storage/Plugin/ExceptionHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@

namespace Zend\Cache\Storage\Plugin;

use Zend\Cache\Exception;
use Zend\Cache\Storage\ExceptionEvent;
use Zend\EventManager\EventManagerInterface;

Expand Down
1 change: 0 additions & 1 deletion library/Zend/Cache/Storage/Plugin/IgnoreUserAbort.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@

namespace Zend\Cache\Storage\Plugin;

use Zend\Cache\Exception;
use Zend\Cache\Storage\Event;
use Zend\EventManager\EventManagerInterface;

Expand Down
4 changes: 2 additions & 2 deletions library/Zend/Cache/Storage/Plugin/PluginOptions.php
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ public function setExceptionCallback($exceptionCallback)
* Used by:
* - ExceptionHandler
*
* @return null|callable
* @return callable
*/
public function getExceptionCallback()
{
Expand Down Expand Up @@ -183,7 +183,7 @@ public function getOptimizingFactor()
*
* @param string|SerializerAdapter $serializer
* @throws Exception\InvalidArgumentException
* @return Serializer
* @return self
*/
public function setSerializer($serializer)
{
Expand Down

0 comments on commit 82493b5

Please sign in to comment.