Skip to content

Commit 9f0180f

Browse files
authored
Change cache lock block method return to mixed (#35961)
1 parent fa61b37 commit 9f0180f

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
@@ -105,7 +105,7 @@ public function get($callback = null)
105105
*
106106
* @param int $seconds
107107
* @param callable|null $callback
108-
* @return bool
108+
* @return mixed
109109
*
110110
* @throws \Illuminate\Contracts\Cache\LockTimeoutException
111111
*/

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)