@@ -47,7 +47,7 @@ |
||
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']); |
@@ -45,7 +45,7 @@ discard block |
||
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 |
||
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() |