Skip to content

Commit

Permalink
Small changes
Browse files Browse the repository at this point in the history
  • Loading branch information
exussum12 committed Aug 30, 2018
1 parent 93defe3 commit de7f673
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/PsalmLoader.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,7 @@ public function getErrorsOnLine($file, $lineNumber)
if ((
$error['start'] <= $lineNumber
&& $error['end'] >= $lineNumber
)
) {
)) {
$errors[] = $error['error'];
unset($this->errorRanges[$file][$number]);
}
Expand All @@ -78,7 +77,6 @@ public function getErrorsOnLine($file, $lineNumber)

/**
* @param XMLReader $reader
* @param string $currentFile
*/
protected function parseItem(XMLReader $reader)
{
Expand Down

0 comments on commit de7f673

Please sign in to comment.