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 3434final class ConstantResolver
3535{
3636
37- public const int PHP_MIN_VERSION_ID = 50207 ;
37+ public const PHP_MIN_VERSION_ID = 50207 ;
3838
3939 /** @var array<string, true> */
4040 private array $ currentlyResolving = [];
Original file line number Diff line number Diff line change @@ -6238,7 +6238,7 @@ public function getPhpVersion(): PhpVersions
62386238 $ minPhpVersion = IntegerRangeType::fromInterval (ConstantResolver::PHP_MIN_VERSION_ID , null );
62396239
62406240 $ constType = $ this ->getGlobalConstantType (new Name ('PHP_VERSION_ID ' ));
6241- if ($ constType !== null && !$ minPhpVersion ->isSuperTypeOf ($ constType )->yes ()) {
6241+ if ($ constType !== null && !$ constType ->isSuperTypeOf ($ minPhpVersion )->yes ()) {
62426242 return new PhpVersions ($ constType );
62436243 }
62446244
You can’t perform that action at this time.
0 commit comments