@@ -116,7 +116,7 @@ discard block |
||
| 116 | 116 | $tags = $check->getTags(); |
| 117 | 117 | |
| 118 | 118 | $d = ['check' => $check->getId(), 'label' => $check->getLabel(), 'Group' => $check->getGroup(), 'tags' => $tags, 'Descr' => $check->getDescr()]; |
| 119 | - $d = array_filter($d, static function ($v) { |
|
| 119 | + $d = array_filter($d, static function($v) { |
|
| 120 | 120 | return !empty($v); |
| 121 | 121 | }); |
| 122 | 122 | $data[] = $d; |
@@ -135,7 +135,7 @@ discard block |
||
| 135 | 135 | try { |
| 136 | 136 | list($checks, $groups, $tags) = $this->getFilterParams($request); |
| 137 | 137 | |
| 138 | - $checks = array_filter($checks, static function ($i) { |
|
| 138 | + $checks = array_filter($checks, static function($i) { |
|
| 139 | 139 | return null !== $i; |
| 140 | 140 | }); |
| 141 | 141 | |