nilportugues / php-json-api

JSON API transformer outputting valid (PSR-7) API Responses.
http://nilportugues.com
MIT License
71 stars 35 forks source link

JSONAPI - Remove setApiVersion for its serializer. #29

Closed nilportugues closed 9 years ago

nilportugues commented 9 years ago

Remove the $serializer->setApiVersion('1.0') method. Hard-code the output on the serializer, as there's no other possible value.

nilportugues commented 9 years ago

Fixed in https://github.com/nilportugues/json-api-transformers/pull/30