File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 34
34
final class ConstantResolver
35
35
{
36
36
37
- public const int PHP_MIN_VERSION_ID = 50207 ;
37
+ public const PHP_MIN_VERSION_ID = 50207 ;
38
38
39
39
/** @var array<string, true> */
40
40
private array $ currentlyResolving = [];
Original file line number Diff line number Diff line change @@ -6238,7 +6238,7 @@ public function getPhpVersion(): PhpVersions
6238
6238
$ minPhpVersion = IntegerRangeType::fromInterval (ConstantResolver::PHP_MIN_VERSION_ID , null );
6239
6239
6240
6240
$ constType = $ this ->getGlobalConstantType (new Name ('PHP_VERSION_ID ' ));
6241
- if ($ constType !== null && !$ minPhpVersion ->isSuperTypeOf ($ constType )->yes ()) {
6241
+ if ($ constType !== null && !$ constType ->isSuperTypeOf ($ minPhpVersion )->yes ()) {
6242
6242
return new PhpVersions ($ constType );
6243
6243
}
6244
6244
You can’t perform that action at this time.
0 commit comments