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'
Browse files Browse the repository at this point in the history
Close #146
  • Loading branch information
weierophinney committed Apr 17, 2018
2 parents 0b53ad1 + 7dba0df commit d7c08eb
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 @@ -22,6 +22,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 d7c08eb

Please sign in to comment.