I dont know why the following problem is showing up. The @param is defined with int|null
Thanks, we'll take a look at that.
Out of curiosity, may I ask why you have installed two IntelliSense extensions at once?
We are using it only for code formatting and in particular the K&R brace styles.
I was not able to figure out how to enable K&R in your extension.
Thank you, that makes sense. We'll have to update the formatting options in the next updates.
FYI on Wiki I've found it like this: https://en.wikipedia.org/wiki/Indentation_style#K&R_style
When following K&R, each function has its opening brace at the next line
Multi-line blocks inside a function, however, have their opening braces at the same line
@Ray back to the original question;
* @param int|null $value
This seems to work; isn't there in your code another setAgreementId() function without the PHPDoc? Is it the same one as if go to the definition of ->setAgreementId(null) ?
Put the setAgreementId() function in a Trait and use it in a class then try again.
hm, both the tooltip and code analysis still see the int|null there
Maybe we're missing another setAgreementId() somewhere?
I'll close the issue for now.
Please feel free to start a new issue with a sample code, I'll be happy to try to fix it.