| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:983a58bd-b998-483f-e2ba-7d0bab412d7b |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | BDAC:6365:39B832:4F5420:6B00C8C3 |
| html-safe-nonce | 9c2711bf6b5d5ad6c9c3fb10d13fda2b01d6628b0cb1e5837b934f759bb92a04 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCREFDOjYzNjU6MzlCODMyOjRGNTQyMDo2QjAwQzhDMyIsInZpc2l0b3JfaWQiOiI2MTU4MTgzNjczNDA2NDc0NDM1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 989edc11c008a095cec327a2adb8ac8823be43cf0d0dd807d8a7dbceb8330df8 |
| hovercard-subject-tag | pull_request:3354665459 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/phpstan/phpstan-src/5132/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/def9b49d2ac54924404f3584f0a9aba906add7f59ae2ed1516cb00beebe78bd1/phpstan/phpstan-src/pull/5132 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/def9b49d2ac54924404f3584f0a9aba906add7f59ae2ed1516cb00beebe78bd1/phpstan/phpstan-src/pull/5132 |
| og:image:alt | Rework of #5128
PDOStatement can either returns array, string or object based on the fetch mode
see phpstan/phpstan#14206 (comment),
so retricting the type to array is wrong ; rather than scalar|ob... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | VincentLanglet |
| hostname | github.com |
| expected-hostname | github.com |
| None | 98dc00e171c204462a6f367482a0f8c3c6b5dbca99cd7390e82d2df49ce096e4 |
| turbo-cache-control | no-cache |
| go-import | github.com/phpstan/phpstan-src git https://github.com/phpstan/phpstan-src.git |
| octolytics-dimension-user_id | 16435710 |
| octolytics-dimension-user_login | phpstan |
| octolytics-dimension-repository_id | 219334214 |
| octolytics-dimension-repository_nwo | phpstan/phpstan-src |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 219334214 |
| octolytics-dimension-repository_network_root_nwo | phpstan/phpstan-src |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | ef013399cf0a3c324bea644a685d7c1e0f06b5b7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | pull-requests |
| Skip to content | https://github.com/phpstan/phpstan-src/pull/5132#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fphpstan%2Fphpstan-src%2Fpull%2F5132 |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fphpstan%2Fphpstan-src%2Fpull%2F5132 |
| Sign up | https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=phpstan%2Fphpstan-src |
| Reload | https://github.com/phpstan/phpstan-src/pull/5132 |
| Reload | https://github.com/phpstan/phpstan-src/pull/5132 |
| Reload | https://github.com/phpstan/phpstan-src/pull/5132 |
| phpstan | https://github.com/phpstan |
| phpstan-src | https://github.com/phpstan/phpstan-src |
| Code | https://github.com/phpstan/phpstan-src |
| Pull requests186 (186) | https://github.com/phpstan/phpstan-src/pulls |
| Actions | https://github.com/phpstan/phpstan-src/actions |
| Security and quality | https://github.com/phpstan/phpstan-src/security |
| Insights | https://github.com/phpstan/phpstan-src/insights |
| https://github.com/phpstan/phpstan-src |
| VincentLanglet | https://github.com/VincentLanglet |
| phpstan:2.1.x | https://github.com/phpstan/phpstan-src/tree/2.1.x |
| VincentLanglet:create-pull-request/patch-p7k2kkx | https://github.com/VincentLanglet/phpstan-src/tree/create-pull-request/patch-p7k2kkx |
| Conversation | https://github.com/phpstan/phpstan-src/pull/5132 |
| Commits5 (5) | https://github.com/phpstan/phpstan-src/pull/5132/commits |
| Checks | https://github.com/phpstan/phpstan-src/pull/5132/checks |
| Files changed | https://github.com/phpstan/phpstan-src/pull/5132/files |
| Update PDOStatement stub | https://github.com/phpstan/phpstan-src/pull/5132#top |
| VincentLanglet | https://github.com/VincentLanglet |
| phpstan:2.1.x | https://github.com/phpstan/phpstan-src/tree/2.1.x |
| VincentLanglet:create-pull-request/patch-p7k2kkx | https://github.com/VincentLanglet/phpstan-src/tree/create-pull-request/patch-p7k2kkx |
|
| https://github.com/VincentLanglet |
| VincentLanglet | https://github.com/VincentLanglet |
| Mar 4, 2026 | https://github.com/phpstan/phpstan-src/pull/5132#issue-4023473224 |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/5132 |
| #5128 | https://github.com/phpstan/phpstan-src/pull/5128 |
| phpstan/phpstan#14206 (comment) | https://github.com/phpstan/phpstan/issues/14206#issuecomment-3996154805 |
| phpstan/phpstan#14206 | https://github.com/phpstan/phpstan/issues/14206 |
| phpstan/phpstan#9120 | https://github.com/phpstan/phpstan/issues/9120 |
| phpstan/phpstan#8886 | https://github.com/phpstan/phpstan/issues/8886 |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/5132 |
| phpstan-bot | https://github.com/phpstan-bot |
| March 4, 2026 07:48 | https://github.com/phpstan/phpstan-src/pull/5132#commits-pushed-c703aa0 |
|
| https://github.com/phpstan-bot |
| Fix | https://github.com/phpstan/phpstan-src/pull/5132/commits/c703aa0f2480860062da694a37918df9d8c75976 |
| phpstan/phpstan#14206 | https://github.com/phpstan/phpstan/issues/14206 |
| : | https://github.com/phpstan/phpstan-src/pull/5132/commits/c703aa0f2480860062da694a37918df9d8c75976 |
| @var | https://github.com/var |
| PDOStatement incorrectly … | https://github.com/phpstan/phpstan-src/pull/5132/commits/c703aa0f2480860062da694a37918df9d8c75976 |
| c703aa0 | https://github.com/phpstan/phpstan-src/pull/5132/commits/c703aa0f2480860062da694a37918df9d8c75976 |
| @var | https://github.com/var |
|
| https://github.com/VincentLanglet |
| Another strategy | https://github.com/phpstan/phpstan-src/pull/5132/commits/f52997185f31cc7f01bea483683fcd3c45f6d626 |
| f529971 | https://github.com/phpstan/phpstan-src/pull/5132/commits/f52997185f31cc7f01bea483683fcd3c45f6d626 |
|
| https://github.com/VincentLanglet |
| Update test | https://github.com/phpstan/phpstan-src/pull/5132/commits/af725e7b9578c80cf12560bdd94e8362d9dd827f |
| af725e7 | https://github.com/phpstan/phpstan-src/pull/5132/commits/af725e7b9578c80cf12560bdd94e8362d9dd827f |
| https://github.com/VincentLanglet |
| VincentLanglet | https://github.com/VincentLanglet |
|
Mar 4, 2026
| https://github.com/phpstan/phpstan-src/pull/5132#ref-pullrequest-4020606824 |
|
Fix phpstan/phpstan#14206: Incorrect @var PDOStatement contains unresolvable type
#5128
| https://github.com/phpstan/phpstan-src/pull/5128 |
| https://github.com/VincentLanglet |
| VincentLanglet | https://github.com/VincentLanglet |
| March 4, 2026 19:22 | https://github.com/phpstan/phpstan-src/pull/5132#event-23271057053 |
| https://github.com/VincentLanglet |
| VincentLanglet | https://github.com/VincentLanglet |
| staabm | https://github.com/staabm |
| March 4, 2026 19:22 | https://github.com/phpstan/phpstan-src/pull/5132#event-23271061677 |
| https://github.com/phpstan-bot |
| phpstan-bot | https://github.com/phpstan-bot |
| Mar 4, 2026 | https://github.com/phpstan/phpstan-src/pull/5132#issuecomment-3999690488 |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/5132 |
| https://github.com/staabm |
| staabm | https://github.com/staabm |
|
Mar 5, 2026
| https://github.com/phpstan/phpstan-src/pull/5132#pullrequestreview-3894035432 |
|
View reviewed changes
| https://github.com/phpstan/phpstan-src/pull/5132/files/af725e7b9578c80cf12560bdd94e8362d9dd827f |
| tests/PHPStan/Rules/PhpDoc/data/bug-14206.php | https://github.com/phpstan/phpstan-src/pull/5132/files/af725e7b9578c80cf12560bdd94e8362d9dd827f#diff-10d7fddf362018a3dce8dd966c472c39ac5736f80f9da578699e58ff07ae082c |
| staabm | https://github.com/staabm |
| Mar 5, 2026 | https://github.com/phpstan/phpstan-src/pull/5132#discussion_r2887818357 |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/5132 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/5132 |
| https://github.com/MacGritsch |
| MacGritsch | https://github.com/MacGritsch |
| Mar 5, 2026 | https://github.com/phpstan/phpstan-src/pull/5132#issuecomment-4003192025 |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/5132 |
| phpstan/phpstan#14206 (comment) | https://github.com/phpstan/phpstan/issues/14206#issuecomment-3996154805 |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/5132 |
|
| https://github.com/VincentLanglet |
| Add tests | https://github.com/phpstan/phpstan-src/pull/5132/commits/746caa6d9267d6fa098facaa016f0dd2e92a549f |
| 746caa6 | https://github.com/phpstan/phpstan-src/pull/5132/commits/746caa6d9267d6fa098facaa016f0dd2e92a549f |
| https://github.com/staabm |
| staabm | https://github.com/staabm |
|
Mar 6, 2026
| https://github.com/phpstan/phpstan-src/pull/5132#pullrequestreview-3903969830 |
|
View reviewed changes
| https://github.com/phpstan/phpstan-src/pull/5132/files/746caa6d9267d6fa098facaa016f0dd2e92a549f |
| https://github.com/staabm |
| staabm | https://github.com/staabm |
|
Mar 6, 2026
| https://github.com/phpstan/phpstan-src/pull/5132#pullrequestreview-3903981507 |
|
View reviewed changes
| https://github.com/phpstan/phpstan-src/pull/5132/files/746caa6d9267d6fa098facaa016f0dd2e92a549f |
| tests/PHPStan/Rules/PhpDoc/data/bug-14206.php | https://github.com/phpstan/phpstan-src/pull/5132/files/746caa6d9267d6fa098facaa016f0dd2e92a549f#diff-10d7fddf362018a3dce8dd966c472c39ac5736f80f9da578699e58ff07ae082c |
| staabm | https://github.com/staabm |
| Mar 6, 2026 | https://github.com/phpstan/phpstan-src/pull/5132#discussion_r2896034206 |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/5132 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| phpstan/phpstan#9120 | https://github.com/phpstan/phpstan/issues/9120 |
| https://phpstan.org/r/bddfabcb-164f-48e7-bf2e-b8f67939f655 | https://phpstan.org/r/bddfabcb-164f-48e7-bf2e-b8f67939f655 |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/5132 |
| staabm | https://github.com/staabm |
| Mar 6, 2026 | https://github.com/phpstan/phpstan-src/pull/5132#discussion_r2896036322 |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/5132 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| with a object shape | https://phpstan.org/r/fb42db15-01aa-4188-837b-15d278049f2a |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/5132 |
| VincentLanglet | https://github.com/VincentLanglet |
| Mar 6, 2026 | https://github.com/phpstan/phpstan-src/pull/5132#discussion_r2896413754 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/5132 |
|
| https://github.com/VincentLanglet |
| Add test | https://github.com/phpstan/phpstan-src/pull/5132/commits/67094e33842238c8a341b3e773ebaac46d3f3ee4 |
| 67094e3 | https://github.com/phpstan/phpstan-src/pull/5132/commits/67094e33842238c8a341b3e773ebaac46d3f3ee4 |
| https://github.com/VincentLanglet |
| VincentLanglet | https://github.com/VincentLanglet |
| 818da3e | https://github.com/phpstan/phpstan-src/commit/818da3e22f65a51a7272ec9afff3dc9d5a2680ca |
| Mar 6, 2026 | https://github.com/phpstan/phpstan-src/pull/5132#event-23336498294 |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/5132 |
|
Incorrect @var PDOStatement contains unresolvable type
phpstan/phpstan#14206
| https://github.com/phpstan/phpstan/issues/14206 |
|
PDOStatement can return objects but phpstan thinks its an array
phpstan/phpstan#9120
| https://github.com/phpstan/phpstan/issues/9120 |
| uekann | https://github.com/uekann |
|
Mar 9, 2026
| https://github.com/phpstan/phpstan-src/pull/5132#ref-commit-55ac598 |
|
| https://github.com/VincentLanglet |
|
| https://github.com/phpstan-bot |
| Update PDOStatement stub ( | https://github.com/uekann/phpstan-src/commit/55ac598f0419aa54132966c6e1980d76df79323b |
| phpstan#5132 | https://github.com/phpstan/phpstan-src/pull/5132 |
| ) | https://github.com/uekann/phpstan-src/commit/55ac598f0419aa54132966c6e1980d76df79323b |
| 55ac598 | https://github.com/uekann/phpstan-src/commit/55ac598f0419aa54132966c6e1980d76df79323b |
| phpstan-bot | https://github.com/phpstan-bot |
|
Apr 7, 2026
| https://github.com/phpstan/phpstan-src/pull/5132#ref-commit-366521f |
|
| https://github.com/VincentLanglet |
|
| https://github.com/phpstan-bot |
| Update PDOStatement stub ( | https://github.com/phpstan-bot/phpstan-src/commit/366521f538a1d2141cd6d9cff43fac5778e74982 |
| phpstan#5132 | https://github.com/phpstan/phpstan-src/pull/5132 |
| ) | https://github.com/phpstan-bot/phpstan-src/commit/366521f538a1d2141cd6d9cff43fac5778e74982 |
| 366521f | https://github.com/phpstan-bot/phpstan-src/commit/366521f538a1d2141cd6d9cff43fac5778e74982 |
| https://github.co/hiddenchars |
| https://github.com/phpstan/phpstan-src/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fphpstan%2Fphpstan-src%2Fpull%2F5132 |
|
| https://github.com/staabm |
|
staabm
| https://github.com/staabm |
|
| https://github.com/phpstan/phpstan-src/pull/5132/files/746caa6d9267d6fa098facaa016f0dd2e92a549f |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/5132 |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/5132 |
|
| https://github.com/VincentLanglet |
|
| https://github.com/phpstan-bot |
|
| https://github.com/MacGritsch |
|
| https://github.com/staabm |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |