Skip to content

Commit

Permalink
Merge pull request #49 from driehle/bugfix/trigger-error-call
Browse files Browse the repository at this point in the history
fixed wrong call of trigger_error()
  • Loading branch information
joelwurtz authored Oct 16, 2020
2 parents 4cd5462 + 9d1dba0 commit b891da7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Client.php
Original file line number Diff line number Diff line change
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 b891da7

Please sign in to comment.