@@ -99,7 +99,7 @@ |
||
99 | 99 | |
100 | 100 | protected function splitImpurity(array $groups): float |
101 | 101 | { |
102 | - $samplesCount = (int) array_sum(array_map(static function (array $group) { |
|
102 | + $samplesCount = (int) array_sum(array_map(static function(array $group) { |
|
103 | 103 | return count($group[0]); |
104 | 104 | }, $groups)); |
105 | 105 |
@@ -48,7 +48,7 @@ |
||
48 | 48 | |
49 | 49 | public function transform(array &$samples, ?array &$targets = null): void |
50 | 50 | { |
51 | - array_walk($samples, function (string &$sample): void { |
|
51 | + array_walk($samples, function(string &$sample): void { |
|
52 | 52 | $this->transformSample($sample); |
53 | 53 | }); |
54 | 54 |