@@ -22,7 +22,7 @@ |
||
22 | 22 | |
23 | 23 | private function removeEmptyInArray($value) |
24 | 24 | { |
25 | - return array_filter($value, function ($item) { |
|
25 | + return array_filter($value, function($item) { |
|
26 | 26 | return !empty((is_array($item)) ? $this->removeEmptyInArray($item) : $item); |
27 | 27 | }); |
28 | 28 | } |
@@ -68,9 +68,9 @@ |
||
68 | 68 | $maxWait = max($waits); |
69 | 69 | |
70 | 70 | // Convert all wait times to float |
71 | - $waits = array_map(function ($item) { return (int) $item; }, $waits); |
|
71 | + $waits = array_map(function($item) { return (int) $item; }, $waits); |
|
72 | 72 | // Skip tasks not wait |
73 | - $waits = array_filter($waits, function ($item) { return 0 != $item; }); |
|
73 | + $waits = array_filter($waits, function($item) { return 0 != $item; }); |
|
74 | 74 | |
75 | 75 | $reference = $maxWait / 100; |
76 | 76 |