Completed
Push — master ( 73caa0...72ac9c )
by Kévin
02:13
created
DependencyInjection/Configuration.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -47,12 +47,12 @@
 block discarded – undo
47 47
                     ->useAttributeAsKey('class')
48 48
                     ->prototype('array')
49 49
                         // Converts 'console.command' to ['console.command']
50
-                        ->beforeNormalization()->ifString()->then(function ($v) { return [$v]; })->end()
50
+                        ->beforeNormalization()->ifString()->then(function($v) { return [$v]; })->end()
51 51
                         ->prototype('array')
52 52
                             // Converts 'console.command' to ['console.command', []]
53
-                            ->beforeNormalization()->ifString()->then(function ($v) { return [$v, []]; })->end()
53
+                            ->beforeNormalization()->ifString()->then(function($v) { return [$v, []]; })->end()
54 54
                             ->validate()
55
-                                ->ifTrue(function ($v) {
55
+                                ->ifTrue(function($v) {
56 56
                                     return count($v) !== 2 || !is_string($v[0]) || !is_array($v[1]);
57 57
                                 })
58 58
                                 ->thenInvalid('Invalid tag format. They must be as following: [\'console.command\', [\'foo\' => \'bar\']]')
Please login to merge, or discard this patch.