| @@ -1,4 +1,4 @@ discard block | ||
| 1 | -<?php declare(strict_types=1); | |
| 1 | +<?php declare(strict_types = 1); | |
| 2 | 2 | |
| 3 | 3 | use Aerys\Host; | 
| 4 | 4 | use Amp\Redis\Client; | 
| @@ -24,7 +24,7 @@ discard block | ||
| 24 | 24 | $injector->define(Handler::class, [ | 
| 25 | 25 | ':origins' => [ | 
| 26 | 26 | 'http://' . $configuration['origins']['websocket'], | 
| 27 | - 'http://' . $configuration['origins']['server'] , | |
| 27 | + 'http://' . $configuration['origins']['server'], | |
| 28 | 28 | ], | 
| 29 | 29 | ]); | 
| 30 | 30 | |
| @@ -23,7 +23,7 @@ | ||
| 23 | 23 | public function __construct( | 
| 24 | 24 | int $id, string $type, string $action, string $repository, | 
| 25 | 25 | string $actorName, string $eventUrl, string $message | 
| 26 | -    ){ | |
| 26 | +    ) { | |
| 27 | 27 | $this->id = $id; | 
| 28 | 28 | $this->type = $type; | 
| 29 | 29 | $this->action = $action; | 
| @@ -1,4 +1,4 @@ | ||
| 1 | -<?php declare(strict_types=1); | |
| 1 | +<?php declare(strict_types = 1); | |
| 2 | 2 | |
| 3 | 3 | namespace ekinhbayar\GitAmp\Client; | 
| 4 | 4 | |
| @@ -58,7 +58,7 @@ | ||
| 58 | 58 | } | 
| 59 | 59 | |
| 60 | 60 |      public function set(string $key, int $val): Promise { | 
| 61 | -        return resolve(function () use ($key, $val) { | |
| 61 | +        return resolve(function() use ($key, $val) { | |
| 62 | 62 |              try { | 
| 63 | 63 | return yield $this->redis->set($key, $val); | 
| 64 | 64 |              } catch (RedisException $e) { |