Skip to content

Commit 9d1dba0

Browse files
authored
fixed wrong call of trigger_error()
1 parent 4cd5462 commit 9d1dba0

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)