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

Change @return Exception to @throws Exception #146

Merged
merged 1 commit into from
Apr 17, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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