@@ -126,7 +126,7 @@ |
||
| 126 | 126 | throw new \RuntimeException('Payload object should implement JsonSerializable. Got an instance of ' . \get_class($payload)); |
| 127 | 127 | } |
| 128 | 128 | $replies = self::dispatch($event, \GuzzleHttp\json_encode($payload)); |
| 129 | - return \array_map(function (string $reply) { |
|
| 129 | + return \array_map(function(string $reply) { |
|
| 130 | 130 | return \GuzzleHttp\json_decode($reply, true); |
| 131 | 131 | }, $replies); |
| 132 | 132 | } |