dotkernel / api

DotKernel's PSR-7 REST style API built around the Mezzio API skeleton.
https://docs.dotkernel.org/api-documentation/
MIT License
38 stars 5 forks source link

RestDispatchTrait method fromObject not used #53

Closed MarioRadu closed 3 years ago

MarioRadu commented 3 years ago

The fromObject method from Api\App\RestDispatchTrait is not used. What is actually used is the fromObject method from Mezzio\Hal\ResourceGenerator. We can remove the unused method from the Api\App\RestDispatchTrait .

alexmerlin commented 3 years ago

@MarioRadu you sure you meant fromObject? Because there's no such method in Api\App\RestDispatchTrait. Also checked git history, it never existed.

alexmerlin commented 3 years ago

No fix needed.