php-rest-api
php-rest-api copied to clipboard
Properties are documented and instantiated as array, turn out to be objects of type stdClass
There are several properties that are documented and initialized as an array
, but turn out to be objects of type stdClass
(as indicated by the error Error : Cannot use object of type stdClass as array
when trying isset($message->typeDetails['udh'])
).
Where I found this so far:
-
\MessageBird\Model\Message::typeDetails
-
\MessageBird\Model\Hlr::details
#182 should partially solve the issue. We still need to improve the typings.
Closing this due to inactivity.