Skip to content

Commit

Permalink
refactor: handle bool value
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholass003 committed May 12, 2024
1 parent e32a92a commit 13abcdc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/block/utils/ExtinguishTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ trait ExtinguishTrait{
protected bool $extinguished = false;

public function isExtinguished() : bool{
return $this->extinguished;
return $this->extinguished === true;
}

public function setExtinguished(bool $value) : self{
Expand Down

0 comments on commit 13abcdc

Please sign in to comment.