Merge pull request #10933 from annando/notice

Fix notice "Array to string conversion"
This commit is contained in:
Hypolite Petovan 2021-10-25 20:49:47 -04:00 committed by GitHub
commit e9a258b284
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 6 deletions

View File

@ -66,7 +66,7 @@ class PubSubPublish
$subscriber['topic']),
'X-Hub-Signature' => 'sha1=' . $hmac_sig];
Logger::debug('POST ' . ['headers' => $headers, 'params' => $params]);
Logger::debug('POST', ['headers' => $headers, 'params' => $params]);
$postResult = DI::httpClient()->post($subscriber['callback_url'], $params, $headers);
$ret = $postResult->getReturnCode();