diff --git a/src/Illuminate/Queue/RedisQueue.php b/src/Illuminate/Queue/RedisQueue.php index 4c376a81a2c0..94602022e721 100644 --- a/src/Illuminate/Queue/RedisQueue.php +++ b/src/Illuminate/Queue/RedisQueue.php @@ -255,7 +255,6 @@ protected function migrate($queue) * * @param string $from * @param string $to - * @param int $limit * @return array */ public function migrateExpiredJobs($from, $to) diff --git a/src/Illuminate/Redis/RedisManager.php b/src/Illuminate/Redis/RedisManager.php index e869741856c6..f1c7d4e917c3 100644 --- a/src/Illuminate/Redis/RedisManager.php +++ b/src/Illuminate/Redis/RedisManager.php @@ -192,7 +192,7 @@ protected function parseConnectionConfiguration($config) } return array_filter($parsed, function ($key) { - return ! in_array($key, ['driver'], true); + return $key !== 'driver'; }, ARRAY_FILTER_USE_KEY); }