Passed
Pull Request — master (#1012)
by Bogdan
10:48
created
src/Console/Commands/CleanStatistics.php 1 patch
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -45,8 +45,9 @@
 block discarded – undo
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')
Please login to merge, or discard this patch.