Closed Vorta closed 4 years ago
That looks like an error on our part.
Hopefully fixed in v.3.2.4.
Hello, looks like it's not fixed. The "@method static static" does not the trick. Putting @method LazyAssertion works though. Why not use that?
Fair enough!
Released 3.2.7
Version: v3.2.2 I'm not sure if this is due to PhpStorm or due to LazyAssertion docblock, so I'm reporting here first.
Code example:
Above example will work normally, however, PhpStorm will underline the
notEmpty
method and say "Method 'notEmpty' not found".The only way I could get the hints to work properly again was to replace
@method $this ...
with@method \Assert\LazyAssertion
inside the LazyAssertion.php.