Skip to content
This repository has been archived by the owner on Jan 31, 2020. It is now read-only.

Commit

Permalink
Merge branch 'master' of git://github.com/zendframework/zf2 into hotf…
Browse files Browse the repository at this point in the history
…ix/ZF2-270
  • Loading branch information
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
11 changes: 4 additions & 7 deletions src/SaveHandler/Cache.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,12 @@
namespace Zend\Session\SaveHandler;

use Zend\Session\SaveHandler as Savable,
Zend\Cache\Storage\Adapter as StorageAdapter,
Zend\Cache\Storage\Adapter\AdapterInterface as StorageAdapter,
Zend\Session\Exception;

/**
* Cache session save handler
*
* @uses Zend\Config
* @uses Zend\Cache\Storage\Adapter
* @uses Zend\Session\SaveHandler\Exception
* @category Zend
* @package Zend_Session
* @subpackage SaveHandler
Expand Down Expand Up @@ -61,7 +58,7 @@ class Cache implements Savable
/**
* Constructor
*
* @param Zend\Cache\Storage\Adapter $storageAdapter
* @param Zend\Cache\Storage\Adapter\AdapterInterface $storageAdapter
* @return void
* @throws Zend\Session\Exception
*/
Expand Down Expand Up @@ -146,7 +143,7 @@ public function gc($maxlifetime)
*
* Allows passing a string class name or StorageAdapter object.
*
* @param Zend\Cache\Storage\Adapter
* @param Zend\Cache\Storage\Adapter\AdapterInterface
* @return void
*/
public function setStorageAdapter(StorageAdapter $storageAdapter)
Expand All @@ -157,7 +154,7 @@ public function setStorageAdapter(StorageAdapter $storageAdapter)
/**
* Get Cache Storage Adapter Object
*
* @return Zend\Cache\Storage\Adapter
* @return Zend\Cache\Storage\Adapter\AdapterInterface
*/
public function getStorageAdapter()
{
Expand Down
2 changes: 1 addition & 1 deletion test/SaveHandler/CacheTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
Zend\Session\SaveHandler\Exception as SaveHandlerException,
Zend\Session\Manager,
Zend\Cache\StorageFactory as CacheFactory,
Zend\Cache\Storage\Adapter as CacheAdapter;
Zend\Cache\Storage\Adapter\AdapterInterface as CacheAdapter;

/**
* Unit testing for DbTable include all tests for
Expand Down

0 comments on commit 52b6014

Please sign in to comment.