You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/Illuminate/Redis/Connectors/PhpRedisConnector.php
+5-5
Original file line number
Diff line number
Diff line change
@@ -69,11 +69,11 @@ protected function createClient(array $config)
69
69
{
70
70
returntap(newRedis, function ($client) use ($config) {
71
71
if ($clientinstanceof RedisFacade) {
72
-
$message = 'Please remove or rename the Redis facade alias in your "app" configuration file in order to avoid collision with the PHP Redis extension.';
73
-
if (! extension_loaded('redis')) {
74
-
$message = 'Please make sure the PHP Redis extension is installed and enabled.';
75
-
}
76
-
thrownewLogicException($message);
72
+
thrownewLogicException(
73
+
extension_loaded('redis')
74
+
? 'Please remove or rename the Redis facade alias in your "app" configuration file in order to avoid collision with the PHP Redis extension.'
75
+
: 'Please make sure the PHP Redis extension is installed and enabled.'
0 commit comments