nunomaduro / laravel-console-dusk

Laravel Console Dusk allows the usage of Laravel Dusk in Laravel/Laravel Zero artisan commands.
MIT License
151 stars 22 forks source link

Add `@mixin` docblock for IDE autocompletion #25

Closed squatto closed 1 year ago

squatto commented 2 years ago

ConsoleBrowser is proxying method calls to the underlying Browser instance with __call(), but IDEs have no way of knowing that. This simply adds a @mixin Browser docblock to the class so that IDEs will autocomplete correctly.

Without the docblock:

Without the docblock

With the docblock:

With the docblock