php 5.6 compatibility
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
eb429e7ee6
commit
ea834dab28
|
@ -228,7 +228,7 @@ class ConnectionFactory {
|
||||||
* @param string $host
|
* @param string $host
|
||||||
* @return array
|
* @return array
|
||||||
*/
|
*/
|
||||||
protected function splitHostFromPortAndSocket($host): array {
|
protected function splitHostFromPortAndSocket($host) {
|
||||||
$params = [
|
$params = [
|
||||||
'host' => $host,
|
'host' => $host,
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in New Issue