Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
frknasir authored and github-actions[bot] committed Nov 9, 2022
1 parent c11880c commit 03068d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Recurs.php
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,8 @@ public function pauseRecurrence(bool $value = true)
*/
public function recurrenceIsActive(): bool
{
return $this->recurrence?->status === 'active' &&
!!$this->nextRecurrence();
return $this->recurrence?->status === 'active' &&
(bool) $this->nextRecurrence();
}

/**
Expand Down

0 comments on commit 03068d9

Please sign in to comment.