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
ShouldNotHappenException thrown in pdo->query
DynamicMethodReturnTypeExtension
#6328
Comments
This bug report is missing a link to reproduction on phpstan.org. It will most likely be closed after manual review. |
pdo->query
DynamicMethodReturnTypeExtension
ohh it seems I need to use
instead.. I guess because the method in question has multiple signatures in https://github.com/phpstan/phpstan-src/blob/a9881e3afd4a105f0bd1391fb57a8e5c3462d2bc/resources/functionMap.php#L8451-L8454 what do you think about throwing a more meaningfull exception, with a hint what the problem is (in case there is more then 1 signature available)? |
Also: Please don't rename the issue after you create it. It creates multiple threads in my inbox and it's hard to orient myself in that :) |
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. |
Bug report
gets thrown in my
pdo->query
-DynamicMethodReturnTypeExtension
, which can be seen in staabm/phpstan-dba#48on phpstan 1.3.3
The text was updated successfully, but these errors were encountered: