| 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:dbe333a7-7499-7b30-e8bc-08d369dd6425 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | E6DE:25598F:C340F7:1036E84:6B00F4D6 |
| html-safe-nonce | d67cd7a175eaa73b0d1a21e0b16828ac101cb2b7d45cdd53c8f586a8a970dfde |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNkRFOjI1NTk4RjpDMzQwRjc6MTAzNkU4NDo2QjAwRjRENiIsInZpc2l0b3JfaWQiOiI3Mzk0MDMyMzk3OTc0NTY2MTAyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 940b3db4f8170f006ae30918a3dd68d44c18eb4092b8e3c835e5cac3aecef313 |
| hovercard-subject-tag | pull_request:1909037937 |
| 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/3131/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/82939fa23e251f5f41bcf2cce702f78571d5adb3e7e7d924f5847a8f0a27d0cd/phpstan/phpstan-src/pull/3131 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/82939fa23e251f5f41bcf2cce702f78571d5adb3e7e7d924f5847a8f0a27d0cd/phpstan/phpstan-src/pull/3131 |
| og:image:alt | Hi 👋🏽
Since some time (actually over a a year or two) there is a bug that effects Larastan. Some of the reported ones I could find:
When() method expects callable Builder with specific model but M... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | canvural |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4ef498cbabcbe3c50befc7a5b743e7072ee770b4daf0e15e54801180d1fa91fc |
| 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 | 9983dd5da06943f833c971dd5b6bc988e2858be5 |
| 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/3131#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fphpstan%2Fphpstan-src%2Fpull%2F3131 |
| 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%2F3131 |
| 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/3131 |
| Reload | https://github.com/phpstan/phpstan-src/pull/3131 |
| Reload | https://github.com/phpstan/phpstan-src/pull/3131 |
| 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 |
| canvural | https://github.com/canvural |
| phpstan:1.12.x | https://github.com/phpstan/phpstan-src/tree/1.12.x |
| canvural:weird-bug | https://github.com/canvural/phpstan-src/tree/weird-bug |
| Conversation | https://github.com/phpstan/phpstan-src/pull/3131 |
| Commits3 (3) | https://github.com/phpstan/phpstan-src/pull/3131/commits |
| Checks | https://github.com/phpstan/phpstan-src/pull/3131/checks |
| Files changed | https://github.com/phpstan/phpstan-src/pull/3131/files |
| Reproduce a weird bug with closures | https://github.com/phpstan/phpstan-src/pull/3131#top |
| canvural | https://github.com/canvural |
| phpstan:1.12.x | https://github.com/phpstan/phpstan-src/tree/1.12.x |
| canvural:weird-bug | https://github.com/canvural/phpstan-src/tree/weird-bug |
|
| https://github.com/canvural |
| canvural | https://github.com/canvural |
| Jun 7, 2024 | https://github.com/phpstan/phpstan-src/pull/3131#issue-2340248023 |
| When() method expects callable Builder with specific model but Model given larastan/larastan#1214 | https://github.com/larastan/larastan/issues/1214 |
| When method do not supports clousure with whereIn expression larastan/larastan#1937 | https://github.com/larastan/larastan/issues/1937 |
| Wrong return type on whereRaw larastan/larastan#1956 | https://github.com/larastan/larastan/issues/1956 |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/3131 |
| https://github.com/canvural |
| canvural | https://github.com/canvural |
| Jun 7, 2024 | https://github.com/phpstan/phpstan-src/pull/3131#issuecomment-2154664090 |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/3131 |
| https://github.com/ondrejmirtes |
| ondrejmirtes | https://github.com/ondrejmirtes |
| Jun 7, 2024 | https://github.com/phpstan/phpstan-src/pull/3131#issuecomment-2154666532 |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/3131 |
| https://github.com/canvural |
| canvural | https://github.com/canvural |
| Jun 7, 2024 | https://github.com/phpstan/phpstan-src/pull/3131#issuecomment-2154671554 |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/3131 |
| https://github.com/ondrejmirtes |
| ondrejmirtes | https://github.com/ondrejmirtes |
| Jun 10, 2024 | https://github.com/phpstan/phpstan-src/pull/3131#issuecomment-2157757205 |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/3131 |
| https://github.com/ondrejmirtes |
| ondrejmirtes | https://github.com/ondrejmirtes |
| Jun 10, 2024 | https://github.com/phpstan/phpstan-src/pull/3131#issuecomment-2157796738 |
| Closure required to no return statement phpstan#11099 | https://github.com/phpstan/phpstan/issues/11099 |
| Template name is wrongly propagated to the type phpstan#11079 | https://github.com/phpstan/phpstan/issues/11079 |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/3131 |
| https://github.com/canvural |
| canvural | https://github.com/canvural |
| Jun 10, 2024 | https://github.com/phpstan/phpstan-src/pull/3131#issuecomment-2157817613 |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/3131 |
| https://github.com/canvural |
| canvural | https://github.com/canvural |
| force-pushed | https://github.com/phpstan/phpstan-src/compare/c60408b8183feb4334afe9164337632a8c6497d9..e2443099fdbc6a60b3934a20b36827b2b4d575a4 |
| c60408b | https://github.com/phpstan/phpstan-src/commit/c60408b8183feb4334afe9164337632a8c6497d9 |
| e244309 | https://github.com/phpstan/phpstan-src/commit/e2443099fdbc6a60b3934a20b36827b2b4d575a4 |
|
Compare
| https://github.com/phpstan/phpstan-src/compare/c60408b8183feb4334afe9164337632a8c6497d9..e2443099fdbc6a60b3934a20b36827b2b4d575a4 |
| September 27, 2024 17:48 | https://github.com/phpstan/phpstan-src/pull/3131#event-14434435222 |
| https://github.com/canvural |
| canvural | https://github.com/canvural |
| September 27, 2024 17:49 | https://github.com/phpstan/phpstan-src/pull/3131#event-14434449323 |
| https://github.com/canvural |
| canvural | https://github.com/canvural |
| force-pushed | https://github.com/phpstan/phpstan-src/compare/e2443099fdbc6a60b3934a20b36827b2b4d575a4..12049c043a4b23dc7465de2155acd4f197ac8783 |
| e244309 | https://github.com/phpstan/phpstan-src/commit/e2443099fdbc6a60b3934a20b36827b2b4d575a4 |
| 12049c0 | https://github.com/phpstan/phpstan-src/commit/12049c043a4b23dc7465de2155acd4f197ac8783 |
|
Compare
| https://github.com/phpstan/phpstan-src/compare/e2443099fdbc6a60b3934a20b36827b2b4d575a4..12049c043a4b23dc7465de2155acd4f197ac8783 |
| September 27, 2024 17:49 | https://github.com/phpstan/phpstan-src/pull/3131#event-14434451171 |
| https://github.com/canvural |
| canvural | https://github.com/canvural |
| force-pushed | https://github.com/phpstan/phpstan-src/compare/12049c043a4b23dc7465de2155acd4f197ac8783..6bdd65a1db3155e24824dd035bc8905b82f611a4 |
| 12049c0 | https://github.com/phpstan/phpstan-src/commit/12049c043a4b23dc7465de2155acd4f197ac8783 |
| 6bdd65a | https://github.com/phpstan/phpstan-src/commit/6bdd65a1db3155e24824dd035bc8905b82f611a4 |
|
Compare
| https://github.com/phpstan/phpstan-src/compare/12049c043a4b23dc7465de2155acd4f197ac8783..6bdd65a1db3155e24824dd035bc8905b82f611a4 |
| December 1, 2024 15:49 | https://github.com/phpstan/phpstan-src/pull/3131#event-15484682778 |
| https://github.com/canvural |
| canvural | https://github.com/canvural |
| Dec 1, 2024 | https://github.com/phpstan/phpstan-src/pull/3131#issuecomment-2509851959 |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/3131 |
| canvural | https://github.com/canvural |
| February 7, 2025 00:50 | https://github.com/phpstan/phpstan-src/pull/3131#commits-pushed-b571eac |
|
| https://github.com/canvural |
| reproduce a weird bug with closures | https://github.com/phpstan/phpstan-src/pull/3131/commits/b571eacf502d271a43a391174bd53d66953d1a90 |
| b571eac | https://github.com/phpstan/phpstan-src/pull/3131/commits/b571eacf502d271a43a391174bd53d66953d1a90 |
|
| https://github.com/canvural |
| move the test to rule tests | https://github.com/phpstan/phpstan-src/pull/3131/commits/57e8687ddda94e4e15bf9686ea2020578d1ade5a |
| 57e8687 | https://github.com/phpstan/phpstan-src/pull/3131/commits/57e8687ddda94e4e15bf9686ea2020578d1ade5a |
|
| https://github.com/canvural |
| fix: use passed to type to compare return types in ClosureReturnTypeRule | https://github.com/phpstan/phpstan-src/pull/3131/commits/ea5f4c219bb5f854b2680e129c9d1f8660943422 |
| ea5f4c2 | https://github.com/phpstan/phpstan-src/pull/3131/commits/ea5f4c219bb5f854b2680e129c9d1f8660943422 |
| https://github.com/canvural |
| canvural | https://github.com/canvural |
| force-pushed | https://github.com/phpstan/phpstan-src/compare/6bdd65a1db3155e24824dd035bc8905b82f611a4..ea5f4c219bb5f854b2680e129c9d1f8660943422 |
| 6bdd65a | https://github.com/phpstan/phpstan-src/commit/6bdd65a1db3155e24824dd035bc8905b82f611a4 |
| ea5f4c2 | https://github.com/phpstan/phpstan-src/commit/ea5f4c219bb5f854b2680e129c9d1f8660943422 |
|
Compare
| https://github.com/phpstan/phpstan-src/compare/6bdd65a1db3155e24824dd035bc8905b82f611a4..ea5f4c219bb5f854b2680e129c9d1f8660943422 |
| February 6, 2025 23:50 | https://github.com/phpstan/phpstan-src/pull/3131#event-16217610163 |
| https://github.com/canvural |
| canvural | https://github.com/canvural |
| Feb 6, 2025 | https://github.com/phpstan/phpstan-src/pull/3131#issuecomment-2641372388 |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/3131 |
| @ondrejmirtes | https://github.com/ondrejmirtes |
| fix | https://github.com/phpstan/phpstan-src/pull/3131/commits/ea5f4c219bb5f854b2680e129c9d1f8660943422 |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/3131 |
| https://github.com/ondrejmirtes |
| ondrejmirtes | https://github.com/ondrejmirtes |
| Feb 7, 2025 | https://github.com/phpstan/phpstan-src/pull/3131#issuecomment-2642940808 |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/3131 |
| https://github.com/canvural |
| canvural | https://github.com/canvural |
| Feb 7, 2025 | https://github.com/phpstan/phpstan-src/pull/3131#issuecomment-2643037870 |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/3131 |
| https://github.com/canvural |
| canvural | https://github.com/canvural |
|
Feb 19, 2025
| https://github.com/phpstan/phpstan-src/pull/3131#ref-pullrequest-2855861147 |
|
ci: add failing test for bug-12585
#3828
| https://github.com/phpstan/phpstan-src/pull/3828 |
| https://github.com/canvural |
| canvural | https://github.com/canvural |
| Feb 19, 2025 | https://github.com/phpstan/phpstan-src/pull/3131#issuecomment-2668721543 |
| @ondrejmirtes | https://github.com/ondrejmirtes |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/3131 |
| https://github.com/ondrejmirtes |
| ondrejmirtes | https://github.com/ondrejmirtes |
| Feb 20, 2025 | https://github.com/phpstan/phpstan-src/pull/3131#issuecomment-2670724741 |
| @canvural | https://github.com/canvural |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/3131 |
| https://github.com/canvural |
| canvural | https://github.com/canvural |
| Feb 20, 2025 | https://github.com/phpstan/phpstan-src/pull/3131#issuecomment-2671235919 |
| @ondrejmirtes | https://github.com/ondrejmirtes |
| get the type of the closure | https://github.com/phpstan/phpstan-src/blob/46b98196c0643eeb3b0eb3c5e91e10099e00f5c1/src/Analyser/MutatingScope.php#L3344 |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/3131 |
| https://github.com/calebdw |
| calebdw | https://github.com/calebdw |
|
Sep 5, 2025
| https://github.com/phpstan/phpstan-src/pull/3131#ref-pullrequest-3387607759 |
|
feat: add dynamic parameter type extensions
#4290
| https://github.com/phpstan/phpstan-src/pull/4290 |
| https://github.com/ondrejmirtes |
| ondrejmirtes | https://github.com/ondrejmirtes |
|
Nov 1, 2026
| https://github.com/phpstan/phpstan-src/pull/3131#ref-pullrequest-6145941157 |
|
Accept closures matching the parameter closure type extension in argument checks
#6897
| https://github.com/phpstan/phpstan-src/pull/6897 |
| https://github.com/ondrejmirtes |
| ondrejmirtes | https://github.com/ondrejmirtes |
| Nov 1, 2026 | https://github.com/phpstan/phpstan-src/pull/3131#issuecomment-6557049078 |
| #6897 | https://github.com/phpstan/phpstan-src/pull/6897 |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/3131 |
| https://github.com/ondrejmirtes |
| ondrejmirtes | https://github.com/ondrejmirtes |
| Nov 1, 2026 | https://github.com/phpstan/phpstan-src/pull/3131#event-34827239863 |
| https://github.com/canvural |
| canvural | https://github.com/canvural |
| November 1, 2026 11:08 | https://github.com/phpstan/phpstan-src/pull/3131#event-34827538652 |
| 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%2F3131 |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/3131 |
| Please reload this page | https://github.com/phpstan/phpstan-src/pull/3131 |
|
| https://github.com/canvural |
|
| https://github.com/ondrejmirtes |
|
| 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 |