Closed agoradesign closed 11 months ago
We don't implement the MessageInterface. Could you please provide a stack trace of the error?
sorry for the noise - I've mixed up the repos last year and seem to forgot to close this issue here -> see https://github.com/billbeeio/custom-shop-php-sdk/issues/12 for the correct issue
The docs for Psr\Http\Message\MessageInterface::getHeader() clearly say: "If the header does not appear in the message, this method MUST return an empty array."
The current implementation however may return NULL, which led to problems for me in our Drupal integration (causing PHP warnings)