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
Get the Class name from the first namespace declaration in the model file, instead of just using the first element in the statements array
When the model file contains a strict_types declaration above the namespace declaration, it will not be detected as a Model class, because the $statements array's first element is always checked for the class name which, in the case of a file with the strict types declaration in it, will always fail since the class name structure will be in the next element in the array
0 commit comments