Skip to content

Commit ff2aa48

Browse files
eloquentizegithub-actions[bot]
authored andcommitted
Fix styling
1 parent be0ec62 commit ff2aa48

File tree

3 files changed

+7
-8
lines changed

3 files changed

+7
-8
lines changed

src/Commands/ModelCountOverall.php

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@
33
namespace Eloquentize\LaravelClient\Commands;
44

55
use Carbon\CarbonPeriod;
6-
use Illuminate\Support\Carbon;
7-
use Eloquentize\LaravelClient\Commands\Traits\HasVerbose;
86
use Eloquentize\LaravelClient\Commands\Traits\BuildPeriod;
97
use Eloquentize\LaravelClient\Commands\Traits\DateArgument;
108
use Eloquentize\LaravelClient\Commands\Traits\GatherModels;
9+
use Eloquentize\LaravelClient\Commands\Traits\HasVerbose;
1110
use Eloquentize\LaravelClient\Commands\Traits\ModelsOption;
12-
use Eloquentize\LaravelClient\Commands\Traits\SendMetricsData;
1311
use Eloquentize\LaravelClient\Commands\Traits\PrepareMetricsData;
12+
use Eloquentize\LaravelClient\Commands\Traits\SendMetricsData;
13+
use Illuminate\Support\Carbon;
1414

1515
class ModelCountOverall extends BaseCommand
1616
{
@@ -29,7 +29,6 @@ public function perform(string $model, $modelsPath = null, ?string $scope = null
2929
$metrics = [];
3030
$modelClass = $this->getModelClass($model, $modelsPath);
3131

32-
3332
try {
3433

3534
// sound avg / min / max / sum return 0 if no records found ? for now

src/Commands/PropertyAggregateOverall.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public function perform(string $model, AggregationType $aggregation, string $pro
5252
$count = $query->$method($property) ?? 0;
5353
$this->verbose('The '.$method.' of '.$model.'->'.$property.' overall is : '.$count);
5454

55-
$label = 'Overall ' .$model;
55+
$label = 'Overall '.$model;
5656
if ($scope && $scopeValue) {
5757
$label .= '::'.$scope.'('.$scopeValue.')';
5858
} elseif ($scope) {

src/LaravelClientServiceProvider.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22

33
namespace Eloquentize\LaravelClient;
44

5-
use Spatie\LaravelPackageTools\Package;
6-
use Eloquentize\LaravelClient\Commands\ModelsCount;
7-
use Spatie\LaravelPackageTools\PackageServiceProvider;
85
use Eloquentize\LaravelClient\Commands\ModelCountOverall;
6+
use Eloquentize\LaravelClient\Commands\ModelsCount;
97
use Eloquentize\LaravelClient\Commands\ModelsCountLegacy;
108
use Eloquentize\LaravelClient\Commands\PropertyAggregate;
119
use Eloquentize\LaravelClient\Commands\PropertyAggregateLegacy;
1210
use Eloquentize\LaravelClient\Commands\PropertyAggregateOverall;
11+
use Spatie\LaravelPackageTools\Package;
12+
use Spatie\LaravelPackageTools\PackageServiceProvider;
1313

1414
class LaravelClientServiceProvider extends PackageServiceProvider
1515
{

0 commit comments

Comments
 (0)