Skip to content

Commit 25c731d

Browse files
committed
formatting
1 parent 20a128d commit 25c731d

File tree

8 files changed

+6
-8
lines changed

8 files changed

+6
-8
lines changed

src/Commands/InstallCommand.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,6 @@ private function configureWidgets(): self
307307
['type' => 'refunded_orders', 'width' => 25, 'days' => 7],
308308
PHP;
309309

310-
311310
$contents = Str::of($contents)
312311
->replace($emptyOption, <<<'PHP'
313312
'widgets' => [

src/Widgets/Concerns/CalculatesStatistics.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ private function calculateTrend(int $currentStatistic, int $previousStatistic):
1919

2020
return [round($percentage), $direction];
2121
}
22-
}
22+
}

src/Widgets/NewCustomers.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,4 @@ public function component()
3838
'trendDirection' => $trendDirection,
3939
]);
4040
}
41-
}
41+
}

src/Widgets/RecentOrders.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
use DuncanMcClean\Cargo\Contracts\Orders\Order as OrderContract;
66
use DuncanMcClean\Cargo\Facades\Order;
77
use Illuminate\Support\Carbon;
8-
use Statamic\Facades\Scope;
98
use Statamic\Facades\User;
109
use Statamic\Widgets\VueComponent;
1110
use Statamic\Widgets\Widget;

src/Widgets/RefundedOrders.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,4 @@ public function component()
3838
'trendDirection' => $trendDirection === 'down' ? 'up' : 'down',
3939
]);
4040
}
41-
}
41+
}

src/Widgets/ReturningCustomers.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,4 @@ public function component()
3838
'trendDirection' => $trendDirection,
3939
]);
4040
}
41-
}
41+
}

src/Widgets/TotalRevenue.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,4 @@ public function component()
3737
'trendDirection' => $trendDirection,
3838
]);
3939
}
40-
}
40+
}

src/Widgets/TotalSales.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,4 @@ public function component()
3636
'trendDirection' => $trendDirection,
3737
]);
3838
}
39-
}
39+
}

0 commit comments

Comments
 (0)