Skip to content

Commit

Permalink
fixed wrong call of trigger_error()
Browse files Browse the repository at this point in the history
  • Loading branch information
driehle committed Oct 12, 2020
1 parent 4cd5462 commit 9d1dba0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Client.php
Expand Up @@ -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);
}
Expand Down

0 comments on commit 9d1dba0

Please sign in to comment.