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
0.12.26 - has no return typehint specified with a phpdoc block #3402
Comments
Does it happen only in those two files? Any idea what could cause it? What's special about them? |
Only this 2 files came out after the upgrade. Nothing special, I do not understand why there is something triggered. One common pattern is that they all have an optional parameter |
👏 for the blog post and for your awesome work ! |
I've got the same problem but for a class property. I assume that's because there is another docblock before the method/property docblock. Mine example with the same problem: class Z {
/** @see Zzz */
/** @var int */
public $property;
} The problem is gone if you remove the It looks like all 3 examples provided @williamdes has the same – there is another docblock before the dockblock with the problem. |
Strange, but why to have 2 phpdocs for one property/method? |
Maybe for historical reasons, maybe to add some context for plugin integrators |
Ref: phpstan/phpstan#3402 Signed-off-by: William Desportes <williamdes@wdes.fr>
Fix confirmed by phpmyadmin/phpmyadmin@d9a8e22 |
Awesome :) |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Refs:
Version: 0.12.26
For me this is a regression 🤔
PS: thank you for the "You're using a deprecated config option bootstrap" I would never noticed other ways.
cc @ondrejmirtes
The text was updated successfully, but these errors were encountered: