laravel-restable
laravel-restable copied to clipboard
Minor Docblock fixes for @param and @return tags
PHPStorm (and other IDEs) tend to give incorrect warnings due to the incorrect doc blocks. This PR fixes the following:
- IDEs not understanding Restable fluent syntax (such as for
Restable::listing([])->render()
, fixed by updating thelisting()
@return tag). - IDEs incorrectly warning that non-array parameters for many methods are not accepted (whereas objects with
toArray()
methods are supported).
These fixes only affect doc blocks, no functionality or other comments are affected.
Not to be rude, but is this project discontinued? This PR literally changes nothing but a few docblocks and has been sitting here for the better part of a year...
If this is an unacceptable update, please let me know why and what needs to be done to fix it.