Skip to content
This repository was archived by the owner on Jul 17, 2026. It is now read-only.

fix nullable resource object#99

Open
martenb wants to merge 1 commit into
amadeus4dev-examples:masterfrom
martenb:fix/nullable-object
Open

fix nullable resource object#99
martenb wants to merge 1 commit into
amadeus4dev-examples:masterfrom
martenb:fix/nullable-object

Conversation

@martenb

@martenb martenb commented Nov 4, 2024

Copy link
Copy Markdown

TypeError
Amadeus\Resources\Resource::toResourceObject(): Argument #1 ($object) must be of type object, null given

image

Fixes error, when accessing null object

@martenb

martenb commented Nov 5, 2024

Copy link
Copy Markdown
Author

fixes #91

@martenb
martenb force-pushed the fix/nullable-object branch from 58a7d7b to 18aa699 Compare November 8, 2024 08:55
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant