| @@ -26,7 +26,7 @@ | ||
| 26 | 26 | |
| 27 | 27 | $eventManager->expects(static::once()) | 
| 28 | 28 |              ->method('triggerEvent') | 
| 29 | -            ->with(static::callback(function (PamiEvent $e) use ($client, $pamiEvent) { | |
| 29 | +            ->with(static::callback(function(PamiEvent $e) use ($client, $pamiEvent) { | |
| 30 | 30 |                  static::assertInstanceOf('PamiModule\\Event\\PamiEvent', $e); | 
| 31 | 31 | static::assertSame($client, $e->getTarget()); | 
| 32 | 32 | static::assertSame($pamiEvent, $e->getEvent()); | 
| @@ -290,7 +290,7 @@ | ||
| 290 | 290 |              ->method('triggerUntil') | 
| 291 | 291 | ->with( | 
| 292 | 292 | static::callback( | 
| 293 | -                    function ($callback) use ($response) { | |
| 293 | +                    function($callback) use ($response) { | |
| 294 | 294 | static::assertFalse($callback(null)); | 
| 295 | 295 |                          static::assertFalse($callback('string')); | 
| 296 | 296 | static::assertFalse($callback([])); | 
| @@ -31,7 +31,7 @@ | ||
| 31 | 31 |              ->method('attach') | 
| 32 | 32 | ->with($eventManager); | 
| 33 | 33 | |
| 34 | -        $callback = function () use ($client) { | |
| 34 | +        $callback = function() use ($client) { | |
| 35 | 35 | return $client; | 
| 36 | 36 | }; | 
| 37 | 37 | |
| @@ -164,7 +164,7 @@ | ||
| 164 | 164 |      { | 
| 165 | 165 | $params = new ArrayObject(['action' => $action]); | 
| 166 | 166 | $results = $this->getEventManager()->triggerUntil( | 
| 167 | -            function ($response) { | |
| 167 | +            function($response) { | |
| 168 | 168 | return $response instanceof ResponseMessage; | 
| 169 | 169 | }, | 
| 170 | 170 | __FUNCTION__.'.pre', |