Skip to content

Commit

Permalink
Fix Error::canBeIgnored()
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrejmirtes committed Oct 1, 2020
1 parent 6b11018 commit 2af17d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Analyser/Error.php
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ public function getLine(): ?int

public function canBeIgnored(): bool
{
return $this->canBeIgnored !== false;
return $this->canBeIgnored === true;
}

public function hasNonIgnorableException(): bool
Expand Down

0 comments on commit 2af17d9

Please sign in to comment.