Skip to content

Commit 9a33386

Browse files
committed
ecs fixes
1 parent a29e58d commit 9a33386

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/TypeResolver.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@ public function resolve($type, Context $context = null)
119119
if (false === $tokens) {
120120
throw new \InvalidArgumentException('Unable to split the type string "' . $type . '" into tokens');
121121
}
122+
122123
$tokenIterator = new \ArrayIterator($tokens);
123124

124125
return $this->parseTypes($tokenIterator, $context, self::PARSER_IN_COMPOUND);

src/Types/ContextFactory.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ private function createFromReflectionClass(\ReflectionClass $class): Context
9494
if (false === $contents) {
9595
throw new \RuntimeException('Unable to read file "' . $fileName . '"');
9696
}
97+
9798
return $this->createForNamespace($namespace, $contents);
9899
}
99100

0 commit comments

Comments
 (0)