@@ -24,7 +24,7 @@ |
||
| 24 | 24 | */ |
| 25 | 25 | private function fixAuthorizationHeader() |
| 26 | 26 | { |
| 27 | - $this['sandstone.listener.authorization_header_fix'] = function () { |
|
| 27 | + $this['sandstone.listener.authorization_header_fix'] = function() { |
|
| 28 | 28 | return new AuthorizationHeaderFixListener(); |
| 29 | 29 | }; |
| 30 | 30 | |
@@ -14,7 +14,7 @@ discard block |
||
| 14 | 14 | |
| 15 | 15 | $app = new App\AppRestApi([ |
| 16 | 16 | 'debug' => true, |
| 17 | - 'sandstone.push' => function () use ($pushServerMock) { |
|
| 17 | + 'sandstone.push' => function() use ($pushServerMock) { |
|
| 18 | 18 | return $pushServerMock; |
| 19 | 19 | }, |
| 20 | 20 | ]); |
@@ -24,7 +24,7 @@ discard block |
||
| 24 | 24 | $pushServerMock |
| 25 | 25 | ->expects($this->once()) |
| 26 | 26 | ->method('send') |
| 27 | - ->with($this->callback(function ($message) { |
|
| 27 | + ->with($this->callback(function($message) { |
|
| 28 | 28 | $decodedMessage = unserialize($message); |
| 29 | 29 | $serializedEvent = '{"propagation_stopped":false,"id":42,"title":"Unicorns spotted in Alaska","url":"http:\/\/unicorn.com\/articles\/unicorns-spotted-alaska"}'; |
| 30 | 30 | |
@@ -19,7 +19,7 @@ |
||
| 19 | 19 | |
| 20 | 20 | $app->register(new SerializerServiceProvider()); |
| 21 | 21 | |
| 22 | - $app['sandstone.websocket.router'] = function () { |
|
| 22 | + $app['sandstone.websocket.router'] = function() { |
|
| 23 | 23 | $wrongTopic = new WrongTopic('my-topic'); |
| 24 | 24 | $topicRouterMock = $this->getMockBuilder(TopicRouter::class)->disableOriginalConstructor()->getMock(); |
| 25 | 25 | |