@@ -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; |
@@ -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) { |