Skip to content

Commit 9e604e6

Browse files
committed
Clean some dead and unused code
1 parent eae51e1 commit 9e604e6

File tree

3 files changed

+0
-3
lines changed

3 files changed

+0
-3
lines changed

src/ReflectionClass.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212

1313
use Go\ParserReflection\Traits\InternalPropertiesEmulationTrait;
1414
use Go\ParserReflection\Traits\ReflectionClassLikeTrait;
15-
use PhpParser\Node\Name;
1615
use PhpParser\Node\Name\FullyQualified;
1716
use PhpParser\Node\Stmt\ClassLike;
1817
use PhpParser\Node\Stmt\Interface_;

src/ReflectionParameter.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,6 @@ public function ___debugInfo()
122122
public function __toString()
123123
{
124124
$parameterType = $this->getType();
125-
$isNullableParam = !empty($parameterType) && $this->allowsNull();
126125
$isOptional = $this->isOptional();
127126
$hasDefaultValue = $this->isDefaultValueAvailable();
128127
$defaultValue = '';

src/Traits/ReflectionFunctionLikeTrait.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313

1414
use Go\ParserReflection\NodeVisitor\GeneratorDetector;
1515
use Go\ParserReflection\NodeVisitor\StaticVariablesCollector;
16-
use Go\ParserReflection\ReflectionFileNamespace;
1716
use Go\ParserReflection\ReflectionParameter;
1817
use Go\ParserReflection\ReflectionType;
1918
use PhpParser\Node\Expr\Closure;

0 commit comments

Comments
 (0)