From 9d1dba00e6e95e0965750f27896c44f09336190b Mon Sep 17 00:00:00 2001 From: Dennis Riehle Date: Mon, 12 Oct 2020 11:33:12 +0200 Subject: [PATCH] fixed wrong call of trigger_error() --- src/Client.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Client.php b/src/Client.php index 9480549..902e3f9 100644 --- a/src/Client.php +++ b/src/Client.php @@ -56,7 +56,7 @@ public function __construct($config1 = [], $config2 = null, array $config = []) return; } - @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.'); + @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); $this->config = $this->configure($config); }