Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fatal on book-rel example #6

Closed
mmucklo opened this issue Feb 10, 2016 · 1 comment
Closed

Fatal on book-rel example #6

mmucklo opened this issue Feb 10, 2016 · 1 comment
Labels

Comments

@mmucklo
Copy link

mmucklo commented Feb 10, 2016

I'm trying to run the example:

?example=book-rel&id=1&rel=authors

However I'm encountering a fatal:

PHP Catchable fatal error:  Argument 1 passed to WoohooLabs\\Yin\\Examples\\Book\\JsonApi\\Resource\\PublisherResourceTransformer::__construct() must be an instance of WoohooLabs\\Yin\\Examples\\Book\\JsonApi\\Resource\\RepresentativeResourceTransformer, none given, called in [...]/yin/examples/Book/Action/GetBookRelationshipsAction.php on line 36 and defined in [...]/yin/examples/Book/JsonApi/Resource/PublisherResourceTransformer.php on line 17
@kocsismate
Copy link
Member

Good catch! :) The fix is now included in dev-master!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants