From 21d32cc25f10428d42c96f891c43968a01c52272 Mon Sep 17 00:00:00 2001 From: "S.a Mahmoudzadeh" <36761585+saMahmoudzadeh@users.noreply.github.com> Date: Fri, 29 Mar 2024 12:28:54 +0330 Subject: [PATCH] [11.x] Fix: update @return in some doc blocks (#50826) * fix: update @return in som doc blocks * Update src/Illuminate/Filesystem/LockableFile.php Co-authored-by: Mior Muhammad Zaki --------- Co-authored-by: Mior Muhammad Zaki --- 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..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 bool + * @return $this * * @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) {