Skip to content

Commit 14ccea5

Browse files
butschsteractions-user
authored andcommitted
Fix styling
1 parent b9049f4 commit 14ccea5

3 files changed

Lines changed: 3 additions & 4 deletions

File tree

src/Generator.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ public function toExpression(): string
8484
public function setExpresion(Expression $expression): self
8585
{
8686
$this->expression = $expression;
87+
8788
return $this;
8889
}
8990

src/Traits/Years.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44

55
namespace Butschster\CronExpression\Traits;
66

7-
use Cron\CronExpression;
8-
97
trait Years
108
{
119
public function months(string | int ...$months): self

tests/GeneratorTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,10 +74,10 @@ public function testEveryXHours()
7474

7575
public function testSetsHours()
7676
{
77-
$this->assertExpression('* 1,2,3 * * *', $this->generator->hours(1,2,3));
77+
$this->assertExpression('* 1,2,3 * * *', $this->generator->hours(1, 2, 3));
7878
$this->assertExpression('* */3 * * *', $this->generator->hours('*/3'));
7979

80-
$this->assertExpression('15 1,2,3 * * *', $this->generator->hourlyAt(15)->hours(1,2,3));
80+
$this->assertExpression('15 1,2,3 * * *', $this->generator->hourlyAt(15)->hours(1, 2, 3));
8181
}
8282

8383
public function testInvalidHoursShouldThrowAnException()

0 commit comments

Comments
 (0)