@@ -179,7 +179,9 @@ |
||
179 | 179 | $resp = []; |
180 | 180 | foreach ($tests as $test) { |
181 | 181 | $counts = self::getCountsById($pdo, $config, $test[0]); |
182 | - if (count($counts) > 0) $resp[] = $counts; |
|
182 | + if (count($counts) > 0) { |
|
183 | + $resp[] = $counts; |
|
184 | + } |
|
183 | 185 | } |
184 | 186 | return $resp; |
185 | 187 | } |
@@ -179,8 +179,7 @@ discard block |
||
179 | 179 | |
180 | 180 | if (array_key_exists("level", $options)) { |
181 | 181 | $level = $options["level"]; |
182 | - } |
|
183 | - else { |
|
182 | + } else { |
|
184 | 183 | $level = count($labels) - 1; |
185 | 184 | } |
186 | 185 | |
@@ -212,8 +211,7 @@ discard block |
||
212 | 211 | |
213 | 212 | if (array_key_exists("level", $options)) { |
214 | 213 | $level = $options["level"]; |
215 | - } |
|
216 | - else { |
|
214 | + } else { |
|
217 | 215 | $level = count($labels) - 1; |
218 | 216 | } |
219 | 217 |