Skip to content

Commit 19a2b0e

Browse files
committed
phpstan first run
1 parent ce562c7 commit 19a2b0e

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

src/Commands/ModelsCount.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ public function handle()
119119

120120
return 0;
121121
} else {
122-
$this->sendMetricsData($metricsData, env('ELOQUENTIZE_API_TOKEN'), $event);
122+
$this->sendMetricsData($metricsData, env('ELOQUENTIZE_API_TOKEN'));
123123
}
124124

125125
$this->line('Models count data sent to eloquentize.');

src/Commands/ModelsCountLegacy.php

-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,6 @@ public function handle()
6969
'--modelsPath' => $modelsPath,
7070
'--dateFormat' => $dateFormat,
7171
'--models' => $this->option('models'),
72-
'--modelsPath' => $this->option('modelsPath'),
7372
'--scope' => $this->option('scope'),
7473
'--scopeValue' => $this->option('scopeValue'),
7574
]);

src/Commands/PropertyAggregate.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ public function handle()
6767
$period = $this->buildPeriod($date, $periodType, $dateFormat);
6868
$metrics = $this->perform($model, $aggregation, $property, $period, $event, $modelsPath);
6969
$metricsData = $this->prepareMetricsData($metrics, $period, $event);
70-
$this->sendMetricsData($metricsData, env('ELOQUENTIZE_API_TOKEN'), $event);
70+
$this->sendMetricsData($metricsData, env('ELOQUENTIZE_API_TOKEN'));
7171

7272
return 0;
7373

0 commit comments

Comments
 (0)