Skip to content

Commit 57b4768

Browse files
committed
Fix CS error
1 parent 6c09d96 commit 57b4768

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/FormattingTrait.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ public function toQuarterRange(): array
270270
1 => [$year . '-01-01', $year . '-03-31'],
271271
2 => [$year . '-04-01', $year . '-06-30'],
272272
3 => [$year . '-07-01', $year . '-09-30'],
273-
default => [$year . '-10-01', $year . '-12-31'],
273+
4 => [$year . '-10-01', $year . '-12-31'],
274274
};
275275
}
276276

tests/TestCase/DateTime/StringsTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ public static function toQuarterRangeProvider()
205205
public function testToQuarterRange($date, $expected)
206206
{
207207
$this->assertSame($expected, (new Chronos($date))->toQuarterRange());
208-
$this->deprecated(function() use ($date, $expected) {
208+
$this->deprecated(function () use ($date, $expected) {
209209
$this->assertSame($expected, (new Chronos($date))->toQuarter(true));
210210
});
211211
}

0 commit comments

Comments
 (0)