diff --git a/src/AbstractZodiac.php b/src/AbstractZodiac.php index 2317e0a..cbdd191 100644 --- a/src/AbstractZodiac.php +++ b/src/AbstractZodiac.php @@ -36,7 +36,7 @@ public function start(): Carbon day: $this->startDay ); - if ($date === false) { + if ($date == false) { throw new RuntimeException('Unable to create end date of zodiac sign.'); } @@ -60,7 +60,7 @@ public function end(): Carbon second: 59 ); - if ($date === false) { + if ($date == false) { throw new RuntimeException('Unable to create end date of zodiac sign.'); }