Skip to content

Commit

Permalink
Increased coverage for PSR Adapter and constraint libraries, fixed CS
Browse files Browse the repository at this point in the history
  • Loading branch information
davidbyoung committed Apr 18, 2020
1 parent 81e5be3 commit e04158a
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/TypeFinder.php
Original file line number Diff line number Diff line change
Expand Up @@ -160,10 +160,6 @@ private function getTypeFromTokens(array $tokens, int $typeFilter): array

// Scan previous tokens to see if they're double colons, which would mean this is a class constant
for ($j = $i - 1;$j >= 0;$j--) {
if (!isset($tokens[$j][1])) {
break;
}

if ($tokens[$j][0] === T_DOUBLE_COLON) {
break 2;
}
Expand Down

0 comments on commit e04158a

Please sign in to comment.