You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Generated _ide_helper.php code for Collection, when using laravel-debugbar package, breaks constructor awareness.
The following gets generated, and as a result, PhpStorm no longer sees that the new Collection(...) constructor accepts a parameter.
If I remove this whole section from _ide_helper.php, PhpStorm 'sees' the constructor again.
I think this issue is basically the same as #1585, and it is a bit more general. The presence of any macros on Collection will cause it to be included in _ide_helper.php, but missing a constructor.
Versions:
Description:
Generated _ide_helper.php code for Collection, when using laravel-debugbar package, breaks constructor awareness.
The following gets generated, and as a result, PhpStorm no longer sees that the new Collection(...) constructor accepts a parameter.
If I remove this whole section from _ide_helper.php, PhpStorm 'sees' the constructor again.
Steps To Reproduce:
Generate _ide_helper.php with the laravel-debugbar composer package installed.
The text was updated successfully, but these errors were encountered: