Skip to content

Commit 5e56518

Browse files
authored
Update lock return type (#39859)
1 parent 91ce8df commit 5e56518

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Illuminate/Cache/Lock.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ public function get($callback = null)
9898
*
9999
* @param int $seconds
100100
* @param callable|null $callback
101-
* @return bool
101+
* @return mixed
102102
*
103103
* @throws \Illuminate\Contracts\Cache\LockTimeoutException
104104
*/

src/Illuminate/Contracts/Cache/Lock.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ public function get($callback = null);
1717
*
1818
* @param int $seconds
1919
* @param callable|null $callback
20-
* @return bool
20+
* @return mixed
2121
*/
2222
public function block($seconds, $callback = null);
2323

0 commit comments

Comments
 (0)