@@ -17,7 +17,7 @@ |
||
17 | 17 | { |
18 | 18 | $controllers = $app['controllers_factory']; |
19 | 19 | |
20 | - $controllers->post('/access-token', function (Request $request) use ($app) { |
|
20 | + $controllers->post('/access-token', function(Request $request) use ($app) { |
|
21 | 21 | try { |
22 | 22 | $token = $app['sandstone.oauth.controller']->postAccessToken($request); |
23 | 23 |
@@ -26,7 +26,7 @@ discard block |
||
26 | 26 | */ |
27 | 27 | private function fixAuthorizationHeader() |
28 | 28 | { |
29 | - $this['sandstone.listener.authorization_header_fix'] = function () { |
|
29 | + $this['sandstone.listener.authorization_header_fix'] = function() { |
|
30 | 30 | return new AuthorizationHeaderFixListener(); |
31 | 31 | }; |
32 | 32 | |
@@ -88,7 +88,7 @@ discard block |
||
88 | 88 | )); |
89 | 89 | } |
90 | 90 | |
91 | - $this->before(function () use ($eventName) { |
|
91 | + $this->before(function() use ($eventName) { |
|
92 | 92 | $this['sandstone.push.event_forwarder']->forwardAllEvents($eventName); |
93 | 93 | }); |
94 | 94 | |
@@ -112,7 +112,7 @@ discard block |
||
112 | 112 | )); |
113 | 113 | } |
114 | 114 | |
115 | - $this->before(function () use ($eventsNames) { |
|
115 | + $this->before(function() use ($eventsNames) { |
|
116 | 116 | $this['sandstone.push.event_forwarder']->forwardAllEvents($eventsNames); |
117 | 117 | }); |
118 | 118 |