@@ -23,7 +23,7 @@ |
||
| 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 | } |
@@ -64,7 +64,7 @@ |
||
| 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'; |
@@ -61,7 +61,7 @@ |
||
| 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'; |