Skip to content

Commit

Permalink
fix: remove unused undefined param $raw
Browse files Browse the repository at this point in the history
It is not defined in the interface and other classes, and not used at all.
  • Loading branch information
kenjis committed May 2, 2024
1 parent f2aaa69 commit 1ff8889
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions system/Test/Mock/MockCache.php
Original file line number Diff line number Diff line change
Expand Up @@ -92,11 +92,10 @@ public function remember(string $key, int $ttl, Closure $callback)
* @param string $key Cache item name
* @param mixed $value the data to save
* @param int $ttl Time To Live, in seconds (default 60)
* @param bool $raw Whether to store the raw value.
*
* @return bool
*/
public function save(string $key, $value, int $ttl = 60, bool $raw = false)
public function save(string $key, $value, int $ttl = 60)
{
if ($this->bypass) {
return false;
Expand Down

0 comments on commit 1ff8889

Please sign in to comment.