php 5.6 compatibility

Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
Joas Schilling 2018-05-09 12:12:13 +02:00
parent eb429e7ee6
commit ea834dab28
No known key found for this signature in database
GPG Key ID: 7076EA9751AACDDA
1 changed files with 1 additions and 1 deletions

View File

@ -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,
]; ];