Skip to content

Properties are documented and instantiated as array, turn out to be objects of type stdClass #85

Closed
@dwilmer-karify

Description

@dwilmer-karify

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions