Completed
Push — master ( 109b6f...81601a )
by Jeff
07:41 queued 03:47
created
models/ContentType.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -142,7 +142,7 @@  discard block
 block discarded – undo
142 142
     {
143 143
         $types = self::find()->all();
144 144
 
145
-        return array_filter($types, function ($t) use ($selfUpdate, $usableOnly) {
145
+        return array_filter($types, function($t) use ($selfUpdate, $usableOnly) {
146 146
             return ($selfUpdate === null || $t->selfUpdate == $selfUpdate) && (!$usableOnly || ($t->usable && $t->enabled));
147 147
         });
148 148
     }
@@ -177,7 +177,7 @@  discard block
 block discarded – undo
177 177
     {
178 178
         $types = self::find()->all();
179 179
 
180
-        return array_filter(array_map(function ($t) {
180
+        return array_filter(array_map(function($t) {
181 181
             return $t->input == self::KINDS['FILE'] ? $t->id : null;
182 182
         }, $types));
183 183
     }
Please login to merge, or discard this patch.