Skip to content

Commit 2af17d9

Browse files
committed
Fix Error::canBeIgnored()
1 parent 6b11018 commit 2af17d9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Analyser/Error.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ public function getLine(): ?int
141141

142142
public function canBeIgnored(): bool
143143
{
144-
return $this->canBeIgnored !== false;
144+
return $this->canBeIgnored === true;
145145
}
146146

147147
public function hasNonIgnorableException(): bool

0 commit comments

Comments
 (0)