Passed
Push — master ( 631d03...ab34f4 )
by Claudio
03:50 queued 01:39
created
wp-rest-api-v2-menus.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -140,10 +140,10 @@
 block discarded – undo
140 140
 function wp_api_v2_menus_get_menu_items( $id ) {
141 141
 	$menu_items = wp_get_nav_menu_items( $id );
142 142
 
143
-    // fallback: if menu_items is null then return empty array
144
-    if($menu_items === false) {
145
-        return [];
146
-    }
143
+	// fallback: if menu_items is null then return empty array
144
+	if($menu_items === false) {
145
+		return [];
146
+	}
147 147
 
148 148
 	$all_menu_items = $menu_items;
149 149
 
Please login to merge, or discard this patch.