Closed stof closed 1 year ago
FYI | bool | Return Type | php80 | php81 | php82 |
---|---|---|---|---|---|
true | Standalone Type | N | N | Y | |
true | Intersection Type | N | N | N | |
true | Union Type | N | N | Y | |
true | Nullable Type | N | N | Y | |
false | Standalone Type | N | N | Y | |
false | Intersection Type | N | N | N | |
false | Union Type | Y | Y | Y | |
false | Nullable Type | N | N | Y |
PR found here -> #566
Similar to https://github.com/phpspec/prophecy/issues/505, but for the
true
type added in PHP 8.2