Skip to content

Trying to get property 'order' of non-object #69

Open
@yabushraber

Description

@yabushraber

file Riskified/DecisionNotification/Model/Notification.php line (97)
$order = $body->{'order'};
Trying to get property 'order' of non-object:

Setting true as second parameter causes a problem in PHP 7.4, since it returns associative array(not object):
$body->{'order'} reading object
$body["order"] reading array

can you please use array or object syntax, but not both
thank you

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