From a545e3322ee1b005fd01cabae5c15fe1598d152a Mon Sep 17 00:00:00 2001 From: Daniel Bannert Date: Thu, 14 Jun 2018 21:15:22 +0200 Subject: [PATCH] cs fix --- src/Reflection/ReflectionClass.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Reflection/ReflectionClass.php b/src/Reflection/ReflectionClass.php index 5a4f72d97..b6fbcefad 100644 --- a/src/Reflection/ReflectionClass.php +++ b/src/Reflection/ReflectionClass.php @@ -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()); }