@@ -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 | |
@@ -1,4 +1,4 @@ discard block |
||
| 1 | -<?php declare(strict_types=1); |
|
| 1 | +<?php declare(strict_types = 1); |
|
| 2 | 2 | |
| 3 | 3 | namespace ekinhbayar\GitAmp\Response; |
| 4 | 4 | |
@@ -15,7 +15,7 @@ discard block |
||
| 15 | 15 | |
| 16 | 16 | public function __construct(Factory $eventFactory) |
| 17 | 17 | { |
| 18 | - $this->eventFactory = $eventFactory; |
|
| 18 | + $this->eventFactory = $eventFactory; |
|
| 19 | 19 | } |
| 20 | 20 | |
| 21 | 21 | public function appendResponse(Response $response) |
@@ -35,7 +35,7 @@ discard block |
||
| 35 | 35 | { |
| 36 | 36 | try { |
| 37 | 37 | $this->events[] = $this->eventFactory->build($event); |
| 38 | - } catch(UnknownEventException $e) { |
|
| 38 | + } catch (UnknownEventException $e) { |
|
| 39 | 39 | // maybe log unknown events? |
| 40 | 40 | } |
| 41 | 41 | } |