Passed
Push — renovate/configure ( cb6898...1d22df )
by
unknown
21:54
created
services/menus/display.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -147,7 +147,7 @@
 block discarded – undo
147 147
 			}
148 148
 
149 149
 			[$is_current_item, $is_parent] = $this->get_current_item($row);
150
-			$depth	= $this->get_parental_depth($row) + 1;
150
+			$depth = $this->get_parental_depth($row) + 1;
151 151
 			$leaf = $this->get_leaf_node($row, $is_current_item, $is_parent);
152 152
 
153 153
 			$this->parental_depth[$row[$this->pk]] = $depth;
Please login to merge, or discard this patch.
services/tree/display.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -168,7 +168,7 @@
 block discarded – undo
168 168
 	 */
169 169
 	public function display_list(array $data)
170 170
 	{
171
-		$data = array_map(function($row) {
171
+		$data = array_map(function ($row) {
172 172
 			$row['num_kids'] = $this->count_descendants($row);
173 173
 			return array_change_key_case($row, CASE_UPPER);
174 174
 		}, $data);
Please login to merge, or discard this patch.