Skip to content

Commit b891da7

Browse files
authored
Merge pull request #49 from driehle/bugfix/trigger-error-call
fixed wrong call of trigger_error()
2 parents 4cd5462 + 9d1dba0 commit b891da7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Client.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ public function __construct($config1 = [], $config2 = null, array $config = [])
5656
return;
5757
}
5858

59-
@trigger_error(E_USER_DEPRECATED, 'Passing a Psr\Http\Message\ResponseFactoryInterface and a Psr\Http\Message\StreamFactoryInterface to SocketClient is deprecated, and will be removed in 3.0, you should only pass config options.');
59+
@trigger_error('Passing a Psr\Http\Message\ResponseFactoryInterface and a Psr\Http\Message\StreamFactoryInterface to SocketClient is deprecated, and will be removed in 3.0, you should only pass config options.', E_USER_DEPRECATED);
6060

6161
$this->config = $this->configure($config);
6262
}

0 commit comments

Comments
 (0)