Vladislav Kosev

Results 151 comments of Vladislav Kosev

~I am astonished to say that this happens only if there is no argument after that. I just added some arguments after `$storageManagerProphecy` and the errors went away.~ Sorry, the...

> note that in this specific case `$propecy->someMethod` won't work out-of-the-box. but the template in the argument position is understood. I am not sure I understand. Can you elaborate, please?

Do you mean to say that the return value of `reveal()` will be the appropriate type, but any methods called on objects of type `ObjectProphecy` will be checked only against...

Actually the issue was the methods on `T`, not the revealed object. Why not keep it open?

> But `array` should work right? That works, yes.

> no that would be `[ [ 'username' => '', 'password' => '' ] ]` > > try `(array{username:string,password:string})[]` or `list` Will try. Phpstan doesn't seem to mind though.

You are correct, but the filter I am talking about is the _directory_ filter, not the method filter. Code lens is not activated unless the directory name _starts_ with `test`,...

I just noticed it workes in method scope: ![image](https://user-images.githubusercontent.com/12109622/102049532-b21f4480-3de9-11eb-9c6e-8e629529dea0.png) So just needed for fields then.