Completed
Push — master ( 0fb449...a1dd26 )
by Vladimir
06:31
created
src/Controller/ApiController.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -116,7 +116,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.