Completed
Pull Request — master (#2)
by Tomáš
22:30 queued 02:27
created
DependencyInjection/Compiler/RegisterKernelListenersPass.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@
 block discarded – undo
47 47
                     $event['method'] = 'on'.preg_replace_callback(array(
48 48
                         '/(?<=\b)[a-z]/i',
49 49
                         '/[^a-z0-9]/i',
50
-                    ), function ($matches) {
50
+                    ), function($matches) {
51 51
                         return strtoupper($matches[0]);
52 52
                     }, $event['event']);
53 53
                     $event['method'] = preg_replace('/[^a-z0-9]/i', '', $event['method']);
Please login to merge, or discard this patch.
src/Bundle/ContentTypesBundle/DependencyInjection/Configuration.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
                         // Default case is we want the user to specify just one
46 46
                         // path but we can allow for multiple if they want to.
47 47
                         ->ifString()
48
-                        ->then(function ($v) {
48
+                        ->then(function($v) {
49 49
                             return array($v);
50 50
                         })
51 51
                     ->end()
@@ -61,14 +61,14 @@  discard block
 block discarded – undo
61 61
                         // Default case is we want the user to specify just one
62 62
                         // taxonomy but we can allow for multiple if they want to.
63 63
                         ->ifString()
64
-                        ->then(function ($v) {
64
+                        ->then(function($v) {
65 65
                             return array(array('name' => $v));
66 66
                         })
67 67
                     ->end()
68 68
                     ->prototype('array')
69 69
                         ->beforeNormalization()
70 70
                             ->ifString()
71
-                            ->then(function ($v) {
71
+                            ->then(function($v) {
72 72
                                 return array('name' => $v);
73 73
                             })
74 74
                         ->end()
Please login to merge, or discard this patch.