Skip to content

Commit 2ac9840

Browse files
brendtgithub-actions[bot]
authored andcommitted
Fix styling
1 parent 0478c8b commit 2ac9840

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

src/SparkLine.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
namespace App\SparkLine;
46

57
use Illuminate\Support\Collection;

src/SparkLineDay.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
namespace App\SparkLine;
46

57
use Carbon\Carbon;
@@ -9,7 +11,8 @@ final class SparkLineDay
911
public function __construct(
1012
public readonly int $count,
1113
public readonly Carbon $day,
12-
) {}
14+
) {
15+
}
1316

1417
public function rebase(int $base, int $max): self
1518
{

tests/SparkLineTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
namespace Brendt\Sparkline\Tests;
46

57
final class SparkLineTest
68
{
79
/** @test */
810
public function it_generates_a_sparkline()
911
{
10-
1112
}
1213
}

0 commit comments

Comments
 (0)