Skip to content

Commit

Permalink
Change comparision
Browse files Browse the repository at this point in the history
  • Loading branch information
olivervogel committed Nov 11, 2024
1 parent c4d341d commit d13ac5d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/AbstractZodiac.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.');
}

Expand All @@ -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.');
}

Expand Down

0 comments on commit d13ac5d

Please sign in to comment.