Skip to content

Commit cd3f775

Browse files
committed
Use 'addDays(1)'
1 parent 3f7bde9 commit cd3f775

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Jalalian.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -665,7 +665,7 @@ public function addDays(int $days = 1): Jalalian
665665

666666
public function addDay(): Jalalian
667667
{
668-
return static::fromCarbon($this->toCarbon()->addDays());
668+
return $this->addDays(1);
669669
}
670670

671671
public function getNextMonth(): Jalalian

0 commit comments

Comments
 (0)