-
Notifications
You must be signed in to change notification settings - Fork 91
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
setHint returning invalid type #463
Comments
I have the same issue. It's related to In doctrine/orm#10238 they only fix it for I think because When I manually add it to @VincentLanglet Do you know what this could be? Should I create a PR for doctrine/orm where we change /**
* {@inheritDoc}
+ *
+ * @return $this
*/
public function setHint($name, $value): self
{
$this->state = self::STATE_DIRTY;
return parent::setHint($name, $value);
} Or is there some interference somewhere else? Maybe a stub inside this repository? |
No idea, @ondrejmirtes certainly know better about such phpdoc interferences |
I am using doctrine/orm 2.14.1 and even though #393 mentions it being fixed I think this was only for setLockMode.
Repro:
Dumped type: mixed
While removing setHint I see proper type.
The text was updated successfully, but these errors were encountered: