Skip to content

Commit

Permalink
Merge pull request #6 from Memcrab/fix-type-error
Browse files Browse the repository at this point in the history
fix type error
  • Loading branch information
oleksandr-diudiun authored May 4, 2023
2 parents 0ce2e73 + ab25b23 commit 41d13b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CachePool.php
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ public function getTTL($key): bool|int|Redis
/**
* @return string|false|Redis
*/
public function getLastError(): bool|string|Redis
public function getLastError(): bool|string|Redis|null
{
try {
$Redis = $this->getRedis();
Expand Down

0 comments on commit 41d13b2

Please sign in to comment.