Passed
Push — master ( a27f5e...7e0d61 )
by Adrien
03:02
created
src/Testing/Api/AbstractServer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -108,7 +108,7 @@
 block discarded – undo
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) {
Please login to merge, or discard this patch.
src/Api/Server.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
     }
Please login to merge, or discard this patch.
tests/Service/ImageResizerTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
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',
Please login to merge, or discard this patch.