Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/Snowcap/Emarsys/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -893,7 +893,7 @@ public function addBlacklistEntries(array $emails = array(), array $domains = ar
* @throws ClientException
* @throws ServerException
*/
protected function send($method = 'GET', $uri, array $body = array())
protected function send(string $method, $uri, array $body = array())
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Turns out I still get email comments from this! Hiya Dom :)

{
$headers = array('Content-Type: application/json', 'X-WSSE: ' . $this->getAuthenticationSignature());
$uri = $this->baseUrl . $uri;
Expand Down