Skip to content

Commit

Permalink
Fix strict comparison in redis configuration Parsing.
Browse files Browse the repository at this point in the history
  • Loading branch information
mathieutu committed Jun 13, 2019
1 parent f0448d4 commit 74b4267
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Illuminate/Redis/RedisManager.php
Expand Up @@ -170,7 +170,7 @@ protected function parseConnectionConfiguration($config)
$parsed = (new ConfigurationUrlParser)->parseConfiguration($config);

return array_filter($parsed, function ($key) {
return ! in_array($key, ['driver', 'username']);
return ! in_array($key, ['driver', 'username'], true);
}, ARRAY_FILTER_USE_KEY);
}

Expand Down

0 comments on commit 74b4267

Please sign in to comment.