Fix other minor type issues in libs

[MAILPOET-3926]
This commit is contained in:
Rostislav Wolny
2020-11-30 16:39:58 +01:00
committed by Veljko V
parent 82f666c488
commit d13f63b3e2
10 changed files with 18 additions and 14 deletions

View File

@ -168,7 +168,7 @@ class AmazonSES {
'Authorization' => $this->signRequest($body),
'X-Amz-Date' => $this->date,
],
'body' => urldecode(http_build_query($body, null, '&')),
'body' => urldecode(http_build_query($body, '', '&')),
];
}
@ -209,7 +209,7 @@ class AmazonSES {
'x-amz-date:' . $this->date,
'',
'host;x-amz-date',
hash($this->hashAlgorithm, urldecode(http_build_query($body, null, '&'))),
hash($this->hashAlgorithm, urldecode(http_build_query($body, '', '&'))),
]);
}

View File

@ -88,7 +88,7 @@ class SendGrid {
'headers' => [
'Authorization' => $this->auth(),
],
'body' => http_build_query($body, null, '&'),
'body' => http_build_query($body, '', '&'),
];
}
}