Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Type
/
to search
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
Uh oh!
There was an error while loading.
Please reload this page
.
phpstan
/
phpstan-src
Public
Notifications
You must be signed in to change notification settings
Fork
585
Star
397
Code
Pull requests
173
Actions
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Security and quality
Insights
Make ParametersAcceptorSelector::selectSingle() return union-ed conditional types
- #1159
#1159
Merged
ondrejmirtes
merged 9 commits into
phpstan:1.6.x
phpstan/phpstan-src:1.6.x
from
rvanvelzen:select-single-conditional
rvanvelzen/phpstan-src:select-single-conditional
Copy head branch name to clipboard
Apr 2, 2022
Conversation
Commits
9
(9)
Checks
Files changed
Merged
Make ParametersAcceptorSelector::selectSingle() return union-ed conditional types
#1159
ondrejmirtes
merged 9 commits into
phpstan:1.6.x
phpstan/phpstan-src:1.6.x
from
rvanvelzen:select-single-conditional
rvanvelzen/phpstan-src:select-single-conditional
Copy head branch name to clipboard
Commits
Commits on Apr 1, 2022
Make ParametersAcceptorSelector::selectSingle() return union-ed conditional types
Show description for af88720
rvanvelzen
committed
af88720
View commit details
Copy full SHA for af88720
Browse repository at this point
Make it work?
rvanvelzen
committed
a71c977
View commit details
Copy full SHA for a71c977
Browse repository at this point
Commits on Apr 2, 2022
Leave creating flattened return type variants to the acceptors
rvanvelzen
committed
28342ca
View commit details
Copy full SHA for 28342ca
Browse repository at this point
Fix cs
rvanvelzen
committed
83b829a
View commit details
Copy full SHA for 83b829a
Browse repository at this point
Ensure static return type
rvanvelzen
committed
fe8cae8
View commit details
Copy full SHA for fe8cae8
Browse repository at this point
Downgrade static type
rvanvelzen
committed
1337434
View commit details
Copy full SHA for 1337434
Browse repository at this point
Move static return type to phpdoc
rvanvelzen
committed
0c7fd11
View commit details
Copy full SHA for 0c7fd11
Browse repository at this point
Fix for old php
rvanvelzen
committed
5afa64d
View commit details
Copy full SHA for 5afa64d
Browse repository at this point
Use new self() instead of clone
rvanvelzen
committed
7204844
View commit details
Copy full SHA for 7204844
Browse repository at this point
You can’t perform that action at this time.