Passed
Push — master ( 634515...c5bdd3 )
by Paweł
02:21
created
components/stats/base/BaseMultiDiff.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
         $toModels = $this->findDataModels($toStatsIds);
24 24
 
25 25
         // jesli znaleziona ostatnia data 'do' jest wczesniejsza niz od, to nie pomijaj modelu
26
-        $ignoredModels = array_filter($toModels, function ($toModel) use ($dbFrom) {
26
+        $ignoredModels = array_filter($toModels, function($toModel) use ($dbFrom) {
27 27
             if (strtotime($toModel['created_at']) > strtotime($dbFrom)) {
28 28
                 return true;
29 29
             }
Please login to merge, or discard this patch.
components/stats/diffs/MultiAccountsDiff.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@
 block discarded – undo
64 64
 
65 65
     protected function findDataModels(array $statsIds)
66 66
     {
67
-        $columns = array_map(function ($attr) {
67
+        $columns = array_map(function($attr) {
68 68
             return "account_stats.{$attr}";
69 69
         }, $this->statsAttributes);
70 70
         $columns[] = 'id';
Please login to merge, or discard this patch.
components/stats/diffs/MultipleTagsDiff.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@
 block discarded – undo
61 61
 
62 62
     protected function findDataModels(array $statsIds)
63 63
     {
64
-        $columns = array_map(function ($attr) {
64
+        $columns = array_map(function($attr) {
65 65
             return "tag_stats.{$attr}";
66 66
         }, $this->statsAttributes);
67 67
         $columns[] = 'id';
Please login to merge, or discard this patch.