plugin
plugin copied to clipboard
[Bug]: Autocompletion not working when using arrow function in model factory
Bug description
PHPStorm does not give any autocompletion for state attributes in model factory when using arrow function.
https://user-images.githubusercontent.com/28797003/183276056-3612651a-e9d7-4674-af0a-babb652ce524.mp4
Plugin version
5.7.3.221
Operating system
MacOS
Steps to reproduce
- create new project with
laravel new project-name - go to UserFactory and change the anonymous function under
unverifiedto arrow function - the autocompletion is gone
Relevant log output
N/A
Fixed. Thanks.