Skip to content

Commit 5d831ec

Browse files
committed
Remove unnecessary function call
1 parent fa7290b commit 5d831ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Types/ContextFactory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public function createFromReflector(\Reflector $reflector)
5151
return new Context($namespace, []);
5252
}
5353

54-
return $this->createForNamespace($reflector->getNamespaceName(), file_get_contents($fileName));
54+
return $this->createForNamespace($namespace, file_get_contents($fileName));
5555
}
5656

5757
/**

0 commit comments

Comments
 (0)