Passed
Push — master ( 7ddb04...7cff39 )
by Joas
13:56 queued 12s
created
lib/private/NavigationManager.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -118,7 +118,7 @@  discard block
 block discarded – undo
118 118
 
119 119
 		$result = $this->entries;
120 120
 		if ($type !== 'all') {
121
-			$result = array_filter($this->entries, function ($entry) use ($type) {
121
+			$result = array_filter($this->entries, function($entry) use ($type) {
122 122
 				return $entry['type'] === $type;
123 123
 			});
124 124
 		}
@@ -133,7 +133,7 @@  discard block
 block discarded – undo
133 133
 	 * @return array
134 134
 	 */
135 135
 	private function proceedNavigation(array $list): array {
136
-		uasort($list, function ($a, $b) {
136
+		uasort($list, function($a, $b) {
137 137
 			if (isset($a['order']) && isset($b['order'])) {
138 138
 				return ($a['order'] < $b['order']) ? -1 : 1;
139 139
 			} elseif (isset($a['order']) || isset($b['order'])) {
@@ -314,7 +314,7 @@  discard block
 block discarded – undo
314 314
 					continue;
315 315
 				}
316 316
 				$l = $this->l10nFac->get($app);
317
-				$id = $nav['id'] ?? $app . ($key === 0 ? '' : $key);
317
+				$id = $nav['id'] ?? $app.($key === 0 ? '' : $key);
318 318
 				$order = isset($nav['order']) ? $nav['order'] : 100;
319 319
 				$type = $nav['type'];
320 320
 				$route = !empty($nav['route']) ? $this->urlGenerator->linkToRoute($nav['route']) : '';
Please login to merge, or discard this patch.