Skip to content

Commit beec58c

Browse files
committed
style: run mago:fmt
1 parent 89b63b9 commit beec58c

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

src/Web/Analytics/Chart.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,9 @@
66

77
final readonly class Chart
88
{
9-
109
public function __construct(
1110
public ImmutableArray $labels,
1211
public ImmutableArray $values,
1312
public ?int $min = null,
14-
) {
15-
}
13+
) {}
1614
}

src/Web/Analytics/PackageDownloadsPerDay/PackageDownloadsPerDayProjector.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
use PDOException;
88
use Tempest\Database\Builder\QueryBuilders\QueryBuilder;
99
use Tempest\EventBus\EventHandler;
10+
1011
use function Tempest\Database\query;
1112

1213
final readonly class PackageDownloadsPerDayProjector implements Projector
@@ -42,7 +43,7 @@ public function onPackageDownloadsListed(PackageDownloadsListed $event): void
4243
->where('date = ? AND package = ?', $date, $event->package)
4344
->first();
4445

45-
if (!$packageDownloadsPerDay) {
46+
if (! $packageDownloadsPerDay) {
4647
$packageDownloadsPerDay = new PackageDownloadsPerDay(
4748
date: $date,
4849
package: $event->package,

0 commit comments

Comments
 (0)