Passed
Push — develop ( e9d5c5...201b6e )
by Daniel
19:39
created
services/menus/display.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
 		$this->set_current_item($data);
65 65
 		$this->prepare_items($data['items']);
66 66
 
67
-		$data['items'] = array_map(function($row) {
67
+		$data['items'] = array_map(function ($row) {
68 68
 			$row['num_kids'] = $this->count_descendants($row);
69 69
 			return array_change_key_case($row, CASE_UPPER);
70 70
 		}, $data['items']);
@@ -153,7 +153,7 @@  discard block
 block discarded – undo
153 153
 			}
154 154
 
155 155
 			[$is_current_item, $is_parent] = $this->get_current_item($row);
156
-			$depth	= $this->get_parental_depth($row) + 1;
156
+			$depth = $this->get_parental_depth($row) + 1;
157 157
 			$leaf = $this->get_leaf_node($row, $is_current_item, $is_parent);
158 158
 
159 159
 			$this->parental_depth[$row[$this->pk]] = $depth;
Please login to merge, or discard this patch.