Skip to content

Conversation

@OndraM
Copy link
Contributor

@OndraM OndraM commented Sep 28, 2018

Hi,
if I'm not mistaken, MetaDocumentMember should implement Attachable interface.

MetaDocument accepts MetaDocumentMember as a second (variadic) argument of its constructor. It then calls combine() function an pass it the MetaDocumentMembers. But the combine() requires its parameters to be attachable, as it calls attachTo() method on them.

@f3ath
Copy link
Contributor

f3ath commented Sep 28, 2018

Good catch. Thanks.

@f3ath f3ath merged commit 0e9681a into json-api-php:master Sep 28, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants