Skip to content

Commit

Permalink
refactor(Cache): 移除 getResultCode 方法,该方法是 memcached 特有的
Browse files Browse the repository at this point in the history
BREAKING CHANGE: 移除 `getResultCode` 方法,该方法是 `memcached` 特有的
  • Loading branch information
twinh committed Feb 5, 2022
1 parent 37fd419 commit 5a6da73
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions lib/BaseCache.php
Original file line number Diff line number Diff line change
Expand Up @@ -283,16 +283,6 @@ public function setNamespace($namespace)
return $this;
}

/**
* Return the result code of the last operation
*
* @return int
*/
public function getResultCode()
{
return 0;
}

/**
* Clear all items
*
Expand Down

0 comments on commit 5a6da73

Please sign in to comment.