Skip to content
This repository was archived by the owner on Apr 13, 2022. It is now read-only.

Commit 1494154

Browse files
Fixed return type
1 parent aea0fb9 commit 1494154

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Connections/IlluminateConnection.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ public function __construct(Connection $illuminate)
5454
*/
5555
public function store(string $key, string $value, int $timeout)
5656
{
57-
return $this->illuminate->set($key, $value, 'NX', 'PX', $timeout);
57+
return (bool) $this->illuminate->set($key, $value, 'NX', 'PX', $timeout);
5858
}
5959

6060
/**

0 commit comments

Comments
 (0)