Closed squatto closed 1 year 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.
ConsoleBrowser
Browser
__call()
@mixin Browser
Without the docblock:
With the docblock:
ConsoleBrowser
is proxying method calls to the underlyingBrowser
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:
With the docblock: