@@ -4,7 +4,6 @@ |
||
| 4 | 4 | |
| 5 | 5 | namespace UMA\JsonRpc; |
| 6 | 6 | |
| 7 | -use Psr\Container\ContainerExceptionInterface; |
|
| 8 | 7 | use Psr\Container\ContainerInterface; |
| 9 | 8 | use Psr\Container\NotFoundExceptionInterface; |
| 10 | 9 | use UMA\JsonRpc\Internal\Guard; |
@@ -1,6 +1,6 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | namespace UMA\JsonRpc; |
| 6 | 6 | |
@@ -62,7 +62,7 @@ discard block |
||
| 62 | 62 | foreach ($input->decoded() as $request) { |
| 63 | 63 | $pseudoInput = Input::fromSafeData($request); |
| 64 | 64 | |
| 65 | - if(null !== $response = $this->single($pseudoInput)) { |
|
| 65 | + if (null !== $response = $this->single($pseudoInput)) { |
|
| 66 | 66 | $responses[] = $response; |
| 67 | 67 | } |
| 68 | 68 | } |
@@ -85,7 +85,7 @@ discard block |
||
| 85 | 85 | |
| 86 | 86 | try { |
| 87 | 87 | $procedure = $this->container->get($this->methods[$request->method()]); |
| 88 | - } catch (ContainerExceptionInterface|NotFoundExceptionInterface $e) { |
|
| 88 | + } catch (ContainerExceptionInterface | NotFoundExceptionInterface $e) { |
|
| 89 | 89 | return $this->end(Error::internal($request->id()), $request); |
| 90 | 90 | } |
| 91 | 91 | |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | namespace UMA\JsonRpc; |
| 6 | 6 | |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | namespace UMA\JsonRpc; |
| 6 | 6 | |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | namespace UMA\JsonRpc; |
| 6 | 6 | |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | namespace UMA\JsonRpc; |
| 6 | 6 | |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | namespace UMA\JsonRpc\Internal; |
| 6 | 6 | |
@@ -1,12 +1,12 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | namespace UMA\JsonRpc\Internal; |
| 6 | 6 | |
| 7 | 7 | class Input |
| 8 | 8 | { |
| 9 | - private const SCHEMA_PATH = __DIR__ . '/../../spec/request.json'; |
|
| 9 | + private const SCHEMA_PATH = __DIR__.'/../../spec/request.json'; |
|
| 10 | 10 | |
| 11 | 11 | /** |
| 12 | 12 | * @var \stdClass |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | namespace UMA\JsonRpc; |
| 6 | 6 | |