Skip to content

Commit

Permalink
Merge pull request #20 from clementtalleu/feat/manage_exceptions
Browse files Browse the repository at this point in the history
return null get
  • Loading branch information
clementtalleu authored Jun 8, 2024
2 parents 815d8ca + e0a5391 commit 9a5b3e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Client/RedisClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public function jsonGet(string $key): ?string
$result = $this->redis->rawCommand(RedisCommands::JSON_GET->value, static::convertPrefix($key));

if ($result === false) {
$this->handleError(__METHOD__, $this->redis->getLastError());
return null;
}

return $result;
Expand Down

0 comments on commit 9a5b3e9

Please sign in to comment.