@@ -108,7 +108,7 @@ |
||
108 | 108 | /** |
109 | 109 | * @param ExecutionResult|ExecutionResult[] $result |
110 | 110 | */ |
111 | - private function resultToArray(array|ExecutionResult $result, bool $debug): array |
|
111 | + private function resultToArray(array | ExecutionResult $result, bool $debug): array |
|
112 | 112 | { |
113 | 113 | if (is_array($result)) { |
114 | 114 | foreach ($result as &$one) { |
@@ -51,7 +51,7 @@ discard block |
||
51 | 51 | /** |
52 | 52 | * @return ExecutionResult|ExecutionResult[] |
53 | 53 | */ |
54 | - public function execute(ServerRequestInterface $request): array|ExecutionResult |
|
54 | + public function execute(ServerRequestInterface $request): array | ExecutionResult |
|
55 | 55 | { |
56 | 56 | if (!$request->getParsedBody()) { |
57 | 57 | /** @var array $parsedBody */ |
@@ -77,7 +77,7 @@ discard block |
||
77 | 77 | * |
78 | 78 | * @param ExecutionResult|ExecutionResult[] $result |
79 | 79 | */ |
80 | - public function sendHttp(array|ExecutionResult $result): void |
|
80 | + public function sendHttp(array | ExecutionResult $result): void |
|
81 | 81 | { |
82 | 82 | $this->server->getHelper()->sendResponse($result); |
83 | 83 | } |
@@ -18,7 +18,7 @@ |
||
18 | 18 | */ |
19 | 19 | public function testResize(string $extension, int $wantedHeight, bool $useWebp, string $expected): void |
20 | 20 | { |
21 | - $mime = match ($extension) { |
|
21 | + $mime = match($extension) { |
|
22 | 22 | 'png' => 'image/png', |
23 | 23 | 'svg' => 'image/svg+xml', |
24 | 24 | 'tiff' => 'image/tiff', |