plugin icon indicating copy to clipboard operation
plugin copied to clipboard

[Bug]: Autocompletion not working when using arrow function in model factory

Open devmoath opened this issue 3 years ago • 1 comments

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

  1. create new project with laravel new project-name
  2. go to UserFactory and change the anonymous function under unverified to arrow function
  3. the autocompletion is gone

Relevant log output

N/A

devmoath avatar Aug 07 '22 05:08 devmoath

Fixed. Thanks.

adelf avatar Aug 08 '22 14:08 adelf