Skip to content

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

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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