Skip to content

Commit

Permalink
Update lock return type (#39859)
Browse files Browse the repository at this point in the history
  • Loading branch information
maxsky committed Dec 1, 2021
1 parent 91ce8df commit 5e56518
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Illuminate/Cache/Lock.php
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ public function get($callback = null)
*
* @param int $seconds
* @param callable|null $callback
* @return bool
* @return mixed
*
* @throws \Illuminate\Contracts\Cache\LockTimeoutException
*/
Expand Down
2 changes: 1 addition & 1 deletion src/Illuminate/Contracts/Cache/Lock.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public function get($callback = null);
*
* @param int $seconds
* @param callable|null $callback
* @return bool
* @return mixed
*/
public function block($seconds, $callback = null);

Expand Down

0 comments on commit 5e56518

Please sign in to comment.