composeer update

This commit is contained in:
2019-06-23 11:49:01 +00:00
parent fc2380d68c
commit e9efe70112
327 changed files with 5194 additions and 2278 deletions
@@ -118,7 +118,9 @@ class RedisManager implements Factory
protected function resolveCluster($name)
{
return $this->connector()->connectToCluster(
$this->parseConnectionConfiguration($this->config['clusters'][$name]),
array_map(function ($config) {
return $this->parseConnectionConfiguration($config);
}, $this->config['clusters'][$name]),
$this->config['clusters']['options'] ?? [],
$this->config['options'] ?? []
);
@@ -168,7 +170,7 @@ class RedisManager implements Factory
$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);
}