@@ -45,8 +45,9 @@ |
||
| 45 | 45 | * but StatisticsStore expects an actual Carbon instance, |
| 46 | 46 | * so we'll convert it here. |
| 47 | 47 | */ |
| 48 | - if ($timestamp instanceof CarbonImmutable) |
|
| 49 | - $timestamp = new Carbon($timestamp); |
|
| 48 | + if ($timestamp instanceof CarbonImmutable) { |
|
| 49 | + $timestamp = new Carbon($timestamp); |
|
| 50 | + } |
|
| 50 | 51 | |
| 51 | 52 | $amountDeleted = StatisticsStore::delete( |
| 52 | 53 | $timestamp, $this->argument('appId') |