Skip to content

Commit

Permalink
cs fix
Browse files Browse the repository at this point in the history
  • Loading branch information
prisis committed Jun 14, 2018
1 parent 3d24651 commit a545e33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Reflection/ReflectionClass.php
Original file line number Diff line number Diff line change
Expand Up @@ -908,10 +908,10 @@ function (TraitUse $traitUse) : array {
private function reflectClassForNamedNode(Node\Name $node) : self
{
// @TODO use actual `ClassReflector` or `FunctionReflector`?
/** @var self $class */
if ($this->isAnonymous()) {
$class = (new BetterReflection())->classReflector()->reflect($node->toString());
} else {
/** @var self $class */
$class = $this->reflector->reflect($node->toString());
}

Expand Down

0 comments on commit a545e33

Please sign in to comment.