Passed
Push — master ( 23e202...a11f30 )
by Andreas
18:48
created
lib/midcom/admin/folder/style/midcom-admin-folder-order-type.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -4,7 +4,7 @@  discard block
 block discarded – undo
4 4
 $count = count($data['navigation_items']);
5 5
 
6 6
 foreach ($data['navigation_items'] as $i => $item) {
7
-    if (   isset($item[MIDCOM_NAV_SORTABLE])
7
+    if (isset($item[MIDCOM_NAV_SORTABLE])
8 8
         && !$item[MIDCOM_NAV_SORTABLE]) {
9 9
         continue;
10 10
     }
@@ -15,7 +15,7 @@  discard block
 block discarded – undo
15 15
     $style = '';
16 16
 
17 17
     // Skip all components that return the default icon
18
-    if (   isset($item[MIDCOM_NAV_COMPONENT])
18
+    if (isset($item[MIDCOM_NAV_COMPONENT])
19 19
         && ($tmp = midcom::get()->componentloader->get_component_icon($item[MIDCOM_NAV_COMPONENT], false))) {
20 20
         $icon = '<i class="fa fa-' . $tmp . '"></i>';
21 21
     } elseif (!$item[MIDCOM_NAV_GUID]) {
Please login to merge, or discard this patch.