Skip to content

MessageBird\Objects\Lookup::getFormats(): Return value must be of type ?array, stdClass returned #207

Closed
@abbasjaber

Description

@abbasjaber

Hello, I'm trying getFormats() function, I'm using Lookup Api and Laravel 9, and I got this error
MessageBird\Objects\Lookup::getFormats(): Return value must be of type ?array, stdClass returned

$lookup = $messageBird->lookup->read($phone[$i]);
$formats= $lookup->getFormats();

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions