Skip to content

Commit

Permalink
[11.x] Fix: update @return in some doc blocks (#50826)
Browse files Browse the repository at this point in the history
* fix: update @return in som doc blocks

* Update src/Illuminate/Filesystem/LockableFile.php

Co-authored-by: Mior Muhammad Zaki <crynobone@gmail.com>

---------

Co-authored-by: Mior Muhammad Zaki <crynobone@gmail.com>
  • Loading branch information
saMahmoudzadeh and crynobone authored Mar 29, 2024
1 parent 1da0050 commit 21d32cc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Illuminate/Filesystem/LockableFile.php
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ public function getSharedLock($block = false)
* Get an exclusive lock on the file.
*
* @param bool $block
* @return bool
* @return $this
*
* @throws \Illuminate\Contracts\Filesystem\LockTimeoutException
*/
Expand Down
4 changes: 2 additions & 2 deletions tests/Redis/RedisManagerExtensionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ class FakeRedisConnector implements Connector
*
* @param array $config
* @param array $options
* @return \Illuminate\Contracts\Redis\Connection
* @return string
*/
public function connect(array $config, array $options)
{
Expand All @@ -111,7 +111,7 @@ public function connect(array $config, array $options)
* @param array $config
* @param array $clusterOptions
* @param array $options
* @return \Illuminate\Contracts\Redis\Connection
* @return string
*/
public function connectToCluster(array $config, array $clusterOptions, array $options)
{
Expand Down

0 comments on commit 21d32cc

Please sign in to comment.