nebulapackage / nebula

Nebula is a minimalistic and easy to use administration tool for Laravel applications, made with Laravel, Alpine.js, and Tailwind CSS.
https://nebulapackage.com
227 stars 27 forks source link

Updated docblock #20

Closed cbl closed 3 years ago

cbl commented 3 years ago

This pr changes the docblock for the options method in the SelectField. This should fix the intellisense issue.

You may even use @return self, however Laravel uses @return $this as a standard for it's docblocks. In general you are free to choose what you want to use.

Here is a bit more information about return types as they are described by fig-standards: https://github.com/php-fig/fig-standards/blob/master/proposed/phpdoc.md#abnf

Larsklopstra commented 3 years ago

Awesome, thanks!