Skip to content

Commit 0c1bb0f

Browse files
committed
Update MutatingScope.php
1 parent a1a8c1c commit 0c1bb0f

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

src/Analyser/MutatingScope.php

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2048,16 +2048,6 @@ static function (Node $node, Scope $scope) use ($arrowScope, &$arrowFunctionImpu
20482048
}
20492049

20502050
if ($node instanceof ConstFetch) {
2051-
$constName = (string) $node->name;
2052-
$loweredConstName = strtolower($constName);
2053-
if ($loweredConstName === 'true') {
2054-
return new ConstantBooleanType(true);
2055-
} elseif ($loweredConstName === 'false') {
2056-
return new ConstantBooleanType(false);
2057-
} elseif ($loweredConstName === 'null') {
2058-
return new NullType();
2059-
}
2060-
20612051
$namespacedName = null;
20622052
if (!$node->name->isFullyQualified() && $this->getNamespace() !== null) {
20632053
$namespacedName = new FullyQualified([$this->getNamespace(), $node->name->toString()]);

0 commit comments

Comments
 (0)