From 21fb0449d4922a9238f7e1c9fbf62a9b01dcb9cc Mon Sep 17 00:00:00 2001 From: "S.a Mahmoudzadeh" Date: Fri, 29 Mar 2024 05:13:53 +0330 Subject: [PATCH 1/2] fix: update @return in som doc blocks --- src/Illuminate/Filesystem/LockableFile.php | 2 +- tests/Redis/RedisManagerExtensionTest.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Illuminate/Filesystem/LockableFile.php b/src/Illuminate/Filesystem/LockableFile.php index d354b884036a..a9f9ad3da3a5 100644 --- a/src/Illuminate/Filesystem/LockableFile.php +++ b/src/Illuminate/Filesystem/LockableFile.php @@ -144,7 +144,7 @@ public function getSharedLock($block = false) * Get an exclusive lock on the file. * * @param bool $block - * @return bool + * @return LockableFile * * @throws \Illuminate\Contracts\Filesystem\LockTimeoutException */ diff --git a/tests/Redis/RedisManagerExtensionTest.php b/tests/Redis/RedisManagerExtensionTest.php index 5cac41877cc2..6baac48d8eb2 100644 --- a/tests/Redis/RedisManagerExtensionTest.php +++ b/tests/Redis/RedisManagerExtensionTest.php @@ -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) { @@ -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) { From a55b28205624b3d43f334d4655099d915fe1885a Mon Sep 17 00:00:00 2001 From: "S.a Mahmoudzadeh" <36761585+saMahmoudzadeh@users.noreply.github.com> Date: Fri, 29 Mar 2024 07:06:30 +0330 Subject: [PATCH 2/2] Update src/Illuminate/Filesystem/LockableFile.php Co-authored-by: Mior Muhammad Zaki --- src/Illuminate/Filesystem/LockableFile.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Illuminate/Filesystem/LockableFile.php b/src/Illuminate/Filesystem/LockableFile.php index a9f9ad3da3a5..80a3b8a13c51 100644 --- a/src/Illuminate/Filesystem/LockableFile.php +++ b/src/Illuminate/Filesystem/LockableFile.php @@ -144,7 +144,7 @@ public function getSharedLock($block = false) * Get an exclusive lock on the file. * * @param bool $block - * @return LockableFile + * @return $this * * @throws \Illuminate\Contracts\Filesystem\LockTimeoutException */