Skip to content

Conversation

@jrfnl
Copy link
Member

@jrfnl jrfnl commented Jan 3, 2023

PHP 8.1 | NewParamTypeDeclarations: add support for intersection types

PHP 8.1 | NewReturnTypeDeclarations: add support for intersection types

PHP 8.1 | NewTypedProperties: add support for intersection types

Intersection Types

Support for intersection types has been added.

Detect whether a type is an intersection type and throw an error if PHP < 8.1 needs to be supported.

Ref:

Related to #1299

jrfnl added 3 commits January 4, 2023 00:20
@jrfnl jrfnl added Type: enhancement PR: quick merge PR only contains relatively simple changes PR: ready for review labels Jan 3, 2023
@jrfnl jrfnl added this to the 10.0.0 milestone Jan 3, 2023
@jrfnl jrfnl requested a review from wimg January 3, 2023 23:44
@wimg wimg merged commit bb43490 into develop Jan 8, 2023
@wimg wimg deleted the php-8.1/various-support-and-detect-intersection-types_ branch January 8, 2023 14:32
@github-actions github-actions bot removed PR: quick merge PR only contains relatively simple changes PR: ready for review labels Jan 8, 2023
@jrfnl jrfnl added the PHP: 8.1 label Nov 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants