Skip to content

lapsus: s/intersection/union/ with null#140

Open
claudepache wants to merge 1 commit into
php-fig:masterfrom
claudepache:patch-1
Open

lapsus: s/intersection/union/ with null#140
claudepache wants to merge 1 commit into
php-fig:masterfrom
claudepache:patch-1

Conversation

@claudepache
Copy link
Copy Markdown

An intersection of a type with null is semantically either null or never (depending on whether the type is nullable). But it is not allowed by PHP anyway.

An intersection of a type with `null` is semantically either `null` or `never` (depending on whether the type is nullable). But it is not allowed by PHP anyway.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant