Passed
Push — main ( 2b1c86...dc6ce0 )
by Roman
03:05
created
src/Helpers/MenuItem.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@
 block discarded – undo
55 55
     {
56 56
         $words = explode(' ', $this->getTitle());
57 57
         $abbrArray = array_map(
58
-            static function ($word) {
58
+            static function($word) {
59 59
                 return mb_strtoupper($word[0]);
60 60
             },
61 61
             $words
Please login to merge, or discard this patch.
src/Helpers/MenuBuilder.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -20,8 +20,7 @@
 block discarded – undo
20 20
         foreach ($menuItems as $index => $menuItem) {
21 21
 
22 22
             $link = array_key_exists('link', $menuItem) ?
23
-                $menuItem['link'] :
24
-                ['type' => MenuItemLinkType::URI, 'uri' => '#'];
23
+                $menuItem['link'] : ['type' => MenuItemLinkType::URI, 'uri' => '#'];
25 24
 
26 25
             $menuItems[$index] = new MenuItem(
27 26
                 $menuItem['title'],
Please login to merge, or discard this patch.