laravel-restable icon indicating copy to clipboard operation
laravel-restable copied to clipboard

Minor Docblock fixes for @param and @return tags

Open czim opened this issue 8 years ago • 1 comments

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 the listing() @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.

czim avatar Jun 09 '16 12:06 czim

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.

czim avatar Mar 08 '17 14:03 czim