Completed
Pull Request — dev (#19)
by Arnaud
02:49
created
Menu/Configuration/MenuItemConfiguration.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@  discard block
 block discarded – undo
19 19
         // user can defined an admin name
20 20
         $resolver
21 21
             ->setDefault('admin', null)
22
-            ->setNormalizer('admin', function (Options $options, $adminName) {
22
+            ->setNormalizer('admin', function(Options $options, $adminName) {
23 23
 
24 24
                 // user has to defined either an admin name and an action name, or a route name with optional
25 25
                 // parameters, or an url
@@ -43,7 +43,7 @@  discard block
 block discarded – undo
43 43
                 // if an action name is provided, an admin name should be defined too
44 44
                 if ($action !== null && $options->offsetGet('admin') === null) {
45 45
                     throw new InvalidOptionsException(
46
-                        'You should provide an admin name for this action ' . $action
46
+                        'You should provide an admin name for this action '.$action
47 47
                     );
48 48
                 }
49 49
 
Please login to merge, or discard this patch.