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

Commit

Permalink
Merge branch 'hotfix/146' into develop
Browse files Browse the repository at this point in the history
Forward port #146
  • Loading branch information
weierophinney committed Apr 17, 2018
2 parents b9e06df + 7dba0df commit 002c32d
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 4 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ All notable changes to this project will be documented in this file, in reverse

### Fixed

- [#146](https://github.com/zendframework/zend-cache/pull/146) fixes several methods to change `@return` annotations to `@throws` where applicable.

- [#134](https://github.com/zendframework/zend-cache/pull/134) adds a missing import statement for `Traversable` within the `AdapterOptions` class.

- [#128](https://github.com/zendframework/zend-cache/pull/128)
Expand Down
2 changes: 1 addition & 1 deletion src/Storage/Adapter/Dba.php
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ public function getIterator()
* Optimize the storage
*
* @return bool
* @return Exception\RuntimeException
* @throws Exception\RuntimeException
*/
public function optimize()
{
Expand Down
2 changes: 1 addition & 1 deletion src/Storage/Adapter/Filesystem.php
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,7 @@ public function getIterator()
* Optimize the storage
*
* @return bool
* @return Exception\RuntimeException
* @throws Exception\RuntimeException
*/
public function optimize()
{
Expand Down
2 changes: 1 addition & 1 deletion src/Storage/Adapter/MemcacheOptions.php
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ public function setAutoCompressMinSavings($minSavings)
/**
* Get compress min savings
*
* @return Exception\RuntimeException
* @throws Exception\RuntimeException
*/
public function getAutoCompressMinSavings()
{
Expand Down
2 changes: 1 addition & 1 deletion src/Storage/Adapter/Memcached.php
Original file line number Diff line number Diff line change
Expand Up @@ -630,7 +630,7 @@ protected function expirationTime()
* Generate exception based of memcached result code
*
* @param int $code
* @return Exception\RuntimeException
* @throws Exception\RuntimeException
* @throws Exception\InvalidArgumentException On success code
*/
protected function getExceptionByResultCode($code)
Expand Down

0 comments on commit 002c32d

Please sign in to comment.