Test Setup Failed
Push — master ( 0b9ac4...7fc571 )
by Arnold
07:33 queued 12s
created
src/Traits/ContentNegotiation.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
 {
14 14
     abstract protected function getRequest(): ServerRequestInterface;
15 15
 
16
-    abstract protected function header(string $header, string|int|\Stringable $value, bool $overwrite = true): static;
16
+    abstract protected function header(string $header, string | int | \Stringable $value, bool $overwrite = true): static;
17 17
 
18 18
     /**
19 19
      * Pick best content type
Please login to merge, or discard this patch.
src/Traits/Header.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@  discard block
 block discarded – undo
24 24
      *
25 25
      * @return $this
26 26
      */
27
-    protected function header(string $header, string|int|\Stringable $value, bool $overwrite = true): static
27
+    protected function header(string $header, string | int | \Stringable $value, bool $overwrite = true): static
28 28
     {
29 29
         $fn = $overwrite ? 'withHeader' : 'withAddedHeader';
30 30
 
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
      * @param int|string $status
48 48
      * @return $this
49 49
      */
50
-    protected function status(int|string $status): static
50
+    protected function status(int | string $status): static
51 51
     {
52 52
         if (is_string($status)) {
53 53
             [$status, $phrase] = explode(' ', $status, 2) + [1 => null];
Please login to merge, or discard this patch.
src/Middleware/Slim.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,8 @@
 block discarded – undo
27 27
      * @param bool $useSlimErrors  Throw Slim exceptions for error responses.
28 28
      */
29 29
     public function __construct(public bool $useSlimErrors = false)
30
-    { }
30
+    {
31
+}
31 32
 
32 33
     public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface
33 34
     {
Please login to merge, or discard this patch.