Passed
Push — master ( e2b43f...ae602f )
by butschster
04:24 queued 18s
created
src/Http/src/Event/MiddlewareProcessing.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,6 +12,6 @@
 block discarded – undo
12 12
     public function __construct(
13 13
         public readonly ServerRequestInterface $request,
14 14
         public readonly MiddlewareInterface $middleware
15
-    ) {
15
+    ){
16 16
     }
17 17
 }
Please login to merge, or discard this patch.
src/Http/src/Event/RequestHandled.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,6 +12,6 @@
 block discarded – undo
12 12
     public function __construct(
13 13
         public readonly ServerRequestInterface $request,
14 14
         public readonly ResponseInterface $response
15
-    ) {
15
+    ){
16 16
     }
17 17
 }
Please login to merge, or discard this patch.
src/Http/src/Pipeline.php 2 patches
Braces   +4 added lines, -2 removed lines patch added patch discarded remove patch
@@ -51,12 +51,14 @@
 block discarded – undo
51 51
 
52 52
     public function handle(Request $request): Response
53 53
     {
54
-        if ($this->handler === null) {
54
+        if ($this->handler === null)
55
+        {
55 56
             throw new PipelineException('Unable to run pipeline, no handler given.');
56 57
         }
57 58
 
58 59
         $position = $this->position++;
59
-        if (isset($this->middleware[$position])) {
60
+        if (isset($this->middleware[$position]))
61
+        {
60 62
             $middleware = $this->middleware[$position];
61 63
             $this->dispatcher?->dispatch(new MiddlewareProcessing($request, $middleware));
62 64
 
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
         private readonly ScopeInterface $scope,
33 33
         private readonly ?EventDispatcherInterface $dispatcher = null,
34 34
         ?TracerInterface $tracer = null
35
-    ) {
35
+    ){
36 36
         $this->tracer = $tracer ?? new NullTracer($scope);
37 37
     }
38 38
 
@@ -57,12 +57,12 @@  discard block
 block discarded – undo
57 57
 
58 58
     public function handle(Request $request): Response
59 59
     {
60
-        if ($this->handler === null) {
60
+        if ($this->handler === null){
61 61
             throw new PipelineException('Unable to run pipeline, no handler given.');
62 62
         }
63 63
 
64 64
         $position = $this->position++;
65
-        if (isset($this->middleware[$position])) {
65
+        if (isset($this->middleware[$position])){
66 66
             $middleware = $this->middleware[$position];
67 67
             $this->dispatcher?->dispatch(new MiddlewareProcessing($request, $middleware));
68 68
 
Please login to merge, or discard this patch.
src/Http/src/Request/InputBag.php 2 patches
Spacing   +18 added lines, -18 removed lines patch added patch discarded remove patch
@@ -15,8 +15,8 @@  discard block
 block discarded – undo
15 15
 {
16 16
     public function __construct(
17 17
         private readonly array $data,
18
-        private readonly int|string $prefix = ''
19
-    ) {
18
+        private readonly int | string $prefix = ''
19
+    ){
20 20
     }
21 21
 
22 22
     public function __debugInfo(): array
@@ -31,9 +31,9 @@  discard block
 block discarded – undo
31 31
 
32 32
     public function all(): array
33 33
     {
34
-        try {
34
+        try{
35 35
             return $this->dotGet('');
36
-        } catch (DotNotFoundException) {
36
+        }catch (DotNotFoundException){
37 37
             return [];
38 38
         }
39 39
     }
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
52 52
     public function fetch(array $keys, bool $fill = false, mixed $filler = null): array
53 53
     {
54 54
         $result = \array_intersect_key($this->all(), \array_flip($keys));
55
-        if (!$fill) {
55
+        if (!$fill){
56 56
             return $result;
57 57
         }
58 58
 
@@ -62,11 +62,11 @@  discard block
 block discarded – undo
62 62
     /**
63 63
      * Check if field presented (can be empty) by it's name. Dot notation allowed.
64 64
      */
65
-    public function has(int|string $name): bool
65
+    public function has(int | string $name): bool
66 66
     {
67
-        try {
67
+        try{
68 68
             $this->dotGet($name);
69
-        } catch (DotNotFoundException) {
69
+        }catch (DotNotFoundException){
70 70
             return false;
71 71
         }
72 72
 
@@ -75,9 +75,9 @@  discard block
 block discarded – undo
75 75
 
76 76
     public function offsetExists(mixed $offset): bool
77 77
     {
78
-        try {
78
+        try{
79 79
             return !\is_null($this->dotGet($offset));
80
-        } catch (DotNotFoundException) {
80
+        }catch (DotNotFoundException){
81 81
             return false;
82 82
         }
83 83
     }
@@ -90,11 +90,11 @@  discard block
 block discarded – undo
90 90
     /**
91 91
      * Get property or return default value. Dot notation allowed.
92 92
      */
93
-    public function get(int|string $name, mixed $default = null): mixed
93
+    public function get(int | string $name, mixed $default = null): mixed
94 94
     {
95
-        try {
95
+        try{
96 96
             return $this->dotGet($name);
97
-        } catch (DotNotFoundException) {
97
+        }catch (DotNotFoundException){
98 98
             return $default;
99 99
         }
100 100
     }
@@ -120,20 +120,20 @@  discard block
 block discarded – undo
120 120
      *
121 121
      * @throws DotNotFoundException
122 122
      */
123
-    private function dotGet(int|string $name): mixed
123
+    private function dotGet(int | string $name): mixed
124 124
     {
125 125
         $data = $this->data;
126 126
 
127 127
         //Generating path relative to a given name and prefix
128
-        $path = (empty($this->prefix) ? '' : $this->prefix . '.') . $name;
129
-        if (empty($path)) {
128
+        $path = (empty($this->prefix) ? '' : $this->prefix.'.').$name;
129
+        if (empty($path)){
130 130
             return $data;
131 131
         }
132 132
 
133 133
         $path = \explode('.', \rtrim($path, '.'));
134 134
 
135
-        foreach ($path as $step) {
136
-            if (!\is_array($data) || !\array_key_exists($step, $data)) {
135
+        foreach ($path as $step){
136
+            if (!\is_array($data) || !\array_key_exists($step, $data)){
137 137
                 throw new DotNotFoundException(\sprintf("Unable to find requested element '%s'.", $name));
138 138
             }
139 139
 
Please login to merge, or discard this patch.
Braces   +28 added lines, -12 removed lines patch added patch discarded remove patch
@@ -31,9 +31,12 @@  discard block
 block discarded – undo
31 31
 
32 32
     public function all(): array
33 33
     {
34
-        try {
34
+        try
35
+        {
35 36
             return $this->dotGet('');
36
-        } catch (DotNotFoundException) {
37
+        }
38
+        catch (DotNotFoundException)
39
+        {
37 40
             return [];
38 41
         }
39 42
     }
@@ -52,7 +55,8 @@  discard block
 block discarded – undo
52 55
     public function fetch(array $keys, bool $fill = false, mixed $filler = null): array
53 56
     {
54 57
         $result = \array_intersect_key($this->all(), \array_flip($keys));
55
-        if (!$fill) {
58
+        if (!$fill)
59
+        {
56 60
             return $result;
57 61
         }
58 62
 
@@ -64,9 +68,12 @@  discard block
 block discarded – undo
64 68
      */
65 69
     public function has(int|string $name): bool
66 70
     {
67
-        try {
71
+        try
72
+        {
68 73
             $this->dotGet($name);
69
-        } catch (DotNotFoundException) {
74
+        }
75
+        catch (DotNotFoundException)
76
+        {
70 77
             return false;
71 78
         }
72 79
 
@@ -75,9 +82,12 @@  discard block
 block discarded – undo
75 82
 
76 83
     public function offsetExists(mixed $offset): bool
77 84
     {
78
-        try {
85
+        try
86
+        {
79 87
             return !\is_null($this->dotGet($offset));
80
-        } catch (DotNotFoundException) {
88
+        }
89
+        catch (DotNotFoundException)
90
+        {
81 91
             return false;
82 92
         }
83 93
     }
@@ -92,9 +102,12 @@  discard block
 block discarded – undo
92 102
      */
93 103
     public function get(int|string $name, mixed $default = null): mixed
94 104
     {
95
-        try {
105
+        try
106
+        {
96 107
             return $this->dotGet($name);
97
-        } catch (DotNotFoundException) {
108
+        }
109
+        catch (DotNotFoundException)
110
+        {
98 111
             return $default;
99 112
         }
100 113
     }
@@ -126,14 +139,17 @@  discard block
 block discarded – undo
126 139
 
127 140
         //Generating path relative to a given name and prefix
128 141
         $path = (empty($this->prefix) ? '' : $this->prefix . '.') . $name;
129
-        if (empty($path)) {
142
+        if (empty($path))
143
+        {
130 144
             return $data;
131 145
         }
132 146
 
133 147
         $path = \explode('.', \rtrim($path, '.'));
134 148
 
135
-        foreach ($path as $step) {
136
-            if (!\is_array($data) || !\array_key_exists($step, $data)) {
149
+        foreach ($path as $step)
150
+        {
151
+            if (!\is_array($data) || !\array_key_exists($step, $data))
152
+            {
137 153
                 throw new DotNotFoundException(\sprintf("Unable to find requested element '%s'.", $name));
138 154
             }
139 155
 
Please login to merge, or discard this patch.
src/Http/src/Request/InputManager.php 2 patches
Spacing   +21 added lines, -21 removed lines patch added patch discarded remove patch
@@ -117,7 +117,7 @@  discard block
 block discarded – undo
117 117
         private readonly ContainerInterface $container,
118 118
         /** @invisible */
119 119
         HttpConfig $config = new HttpConfig()
120
-    ) {
120
+    ){
121 121
         $this->bagAssociations = \array_merge($this->bagAssociations, $config->getInputBags());
122 122
     }
123 123
 
@@ -146,10 +146,10 @@  discard block
 block discarded – undo
146 146
     {
147 147
         $input = clone $this;
148 148
 
149
-        if ($add) {
150
-            $input->prefix .= '.' . $prefix;
149
+        if ($add){
150
+            $input->prefix .= '.'.$prefix;
151 151
             $input->prefix = \trim($input->prefix, '.');
152
-        } else {
152
+        }else{
153 153
             $input->prefix = $prefix;
154 154
         }
155 155
 
@@ -165,7 +165,7 @@  discard block
 block discarded – undo
165 165
 
166 166
         return match (true) {
167 167
             empty($path) => '/',
168
-            $path[0] !== '/' => '/' . $path,
168
+            $path[0] !== '/' => '/'.$path,
169 169
             default => $path
170 170
         };
171 171
     }
@@ -185,9 +185,9 @@  discard block
 block discarded – undo
185 185
      */
186 186
     public function request(): Request
187 187
     {
188
-        try {
188
+        try{
189 189
             $request = $this->container->get(Request::class);
190
-        } catch (ContainerExceptionInterface $e) {
190
+        }catch (ContainerExceptionInterface $e){
191 191
             throw new ScopeException(
192 192
                 'Unable to get `ServerRequestInterface` in active container scope',
193 193
                 $e->getCode(),
@@ -196,7 +196,7 @@  discard block
 block discarded – undo
196 196
         }
197 197
 
198 198
         // Flushing input state
199
-        if ($this->request !== $request) {
199
+        if ($this->request !== $request){
200 200
             $this->bags = [];
201 201
             $this->request = $request;
202 202
         }
@@ -213,7 +213,7 @@  discard block
 block discarded – undo
213 213
 
214 214
         $position = \strrpos($header, 'Bearer ');
215 215
 
216
-        if ($position !== false) {
216
+        if ($position !== false){
217 217
             $header = \substr($header, $position + 7);
218 218
 
219 219
             return \str_contains($header, ',')
@@ -267,16 +267,16 @@  discard block
 block discarded – undo
267 267
     public function isJsonExpected(bool $softMatch = false): bool
268 268
     {
269 269
         $acceptHeader = AcceptHeader::fromString($this->request()->getHeaderLine('Accept'));
270
-        foreach ($this->jsonTypes as $jsonType) {
271
-            if ($acceptHeader->has($jsonType)) {
270
+        foreach ($this->jsonTypes as $jsonType){
271
+            if ($acceptHeader->has($jsonType)){
272 272
                 return true;
273 273
             }
274 274
         }
275 275
 
276
-        if ($softMatch) {
277
-            foreach ($acceptHeader->getAll() as $item) {
276
+        if ($softMatch){
277
+            foreach ($acceptHeader->getAll() as $item){
278 278
                 $itemValue = \strtolower($item->getValue());
279
-                if (\str_ends_with($itemValue, '/json') || \str_ends_with($itemValue, '+json')) {
279
+                if (\str_ends_with($itemValue, '/json') || \str_ends_with($itemValue, '+json')){
280 280
                     return true;
281 281
                 }
282 282
             }
@@ -315,19 +315,19 @@  discard block
 block discarded – undo
315 315
         // ensure proper request association
316 316
         $this->request();
317 317
 
318
-        if (isset($this->bags[$name])) {
318
+        if (isset($this->bags[$name])){
319 319
             return $this->bags[$name];
320 320
         }
321 321
 
322 322
         $definition = $this->findBagDefinition($name);
323
-        if (!$definition) {
323
+        if (!$definition){
324 324
             throw new InputException(\sprintf("Undefined input bag '%s'", $name));
325 325
         }
326 326
 
327 327
         $class = $definition['class'];
328 328
         $data = \call_user_func([$this->request(), $definition['source']]);
329 329
 
330
-        if (!\is_array($data)) {
330
+        if (!\is_array($data)){
331 331
             $data = (array)$data;
332 332
         }
333 333
 
@@ -336,7 +336,7 @@  discard block
 block discarded – undo
336 336
 
337 337
     public function hasBag(string $name): bool
338 338
     {
339
-        if (isset($this->bags[$name])) {
339
+        if (isset($this->bags[$name])){
340 340
             return true;
341 341
         }
342 342
 
@@ -356,12 +356,12 @@  discard block
 block discarded – undo
356 356
      */
357 357
     private function findBagDefinition(string $name): ?array
358 358
     {
359
-        if (isset($this->bagAssociations[$name])) {
359
+        if (isset($this->bagAssociations[$name])){
360 360
             return $this->bagAssociations[$name];
361 361
         }
362 362
 
363
-        foreach ($this->bagAssociations as $bag) {
364
-            if (isset($bag['alias']) && $bag['alias'] === $name) {
363
+        foreach ($this->bagAssociations as $bag){
364
+            if (isset($bag['alias']) && $bag['alias'] === $name){
365 365
                 return $bag;
366 366
             }
367 367
         }
Please login to merge, or discard this patch.
Braces   +38 added lines, -18 removed lines patch added patch discarded remove patch
@@ -146,10 +146,13 @@  discard block
 block discarded – undo
146 146
     {
147 147
         $input = clone $this;
148 148
 
149
-        if ($add) {
149
+        if ($add)
150
+        {
150 151
             $input->prefix .= '.' . $prefix;
151 152
             $input->prefix = \trim($input->prefix, '.');
152
-        } else {
153
+        }
154
+        else
155
+        {
153 156
             $input->prefix = $prefix;
154 157
         }
155 158
 
@@ -185,9 +188,12 @@  discard block
 block discarded – undo
185 188
      */
186 189
     public function request(): Request
187 190
     {
188
-        try {
191
+        try
192
+        {
189 193
             $request = $this->container->get(Request::class);
190
-        } catch (ContainerExceptionInterface $e) {
194
+        }
195
+        catch (ContainerExceptionInterface $e)
196
+        {
191 197
             throw new ScopeException(
192 198
                 'Unable to get `ServerRequestInterface` in active container scope',
193 199
                 $e->getCode(),
@@ -196,7 +202,8 @@  discard block
 block discarded – undo
196 202
         }
197 203
 
198 204
         // Flushing input state
199
-        if ($this->request !== $request) {
205
+        if ($this->request !== $request)
206
+        {
200 207
             $this->bags = [];
201 208
             $this->request = $request;
202 209
         }
@@ -213,7 +220,8 @@  discard block
 block discarded – undo
213 220
 
214 221
         $position = \strrpos($header, 'Bearer ');
215 222
 
216
-        if ($position !== false) {
223
+        if ($position !== false)
224
+        {
217 225
             $header = \substr($header, $position + 7);
218 226
 
219 227
             return \str_contains($header, ',')
@@ -267,16 +275,21 @@  discard block
 block discarded – undo
267 275
     public function isJsonExpected(bool $softMatch = false): bool
268 276
     {
269 277
         $acceptHeader = AcceptHeader::fromString($this->request()->getHeaderLine('Accept'));
270
-        foreach ($this->jsonTypes as $jsonType) {
271
-            if ($acceptHeader->has($jsonType)) {
278
+        foreach ($this->jsonTypes as $jsonType)
279
+        {
280
+            if ($acceptHeader->has($jsonType))
281
+            {
272 282
                 return true;
273 283
             }
274 284
         }
275 285
 
276
-        if ($softMatch) {
277
-            foreach ($acceptHeader->getAll() as $item) {
286
+        if ($softMatch)
287
+        {
288
+            foreach ($acceptHeader->getAll() as $item)
289
+            {
278 290
                 $itemValue = \strtolower($item->getValue());
279
-                if (\str_ends_with($itemValue, '/json') || \str_ends_with($itemValue, '+json')) {
291
+                if (\str_ends_with($itemValue, '/json') || \str_ends_with($itemValue, '+json'))
292
+                {
280 293
                     return true;
281 294
                 }
282 295
             }
@@ -315,19 +328,22 @@  discard block
 block discarded – undo
315 328
         // ensure proper request association
316 329
         $this->request();
317 330
 
318
-        if (isset($this->bags[$name])) {
331
+        if (isset($this->bags[$name]))
332
+        {
319 333
             return $this->bags[$name];
320 334
         }
321 335
 
322 336
         $definition = $this->findBagDefinition($name);
323
-        if (!$definition) {
337
+        if (!$definition)
338
+        {
324 339
             throw new InputException(\sprintf("Undefined input bag '%s'", $name));
325 340
         }
326 341
 
327 342
         $class = $definition['class'];
328 343
         $data = \call_user_func([$this->request(), $definition['source']]);
329 344
 
330
-        if (!\is_array($data)) {
345
+        if (!\is_array($data))
346
+        {
331 347
             $data = (array)$data;
332 348
         }
333 349
 
@@ -336,7 +352,8 @@  discard block
 block discarded – undo
336 352
 
337 353
     public function hasBag(string $name): bool
338 354
     {
339
-        if (isset($this->bags[$name])) {
355
+        if (isset($this->bags[$name]))
356
+        {
340 357
             return true;
341 358
         }
342 359
 
@@ -356,12 +373,15 @@  discard block
 block discarded – undo
356 373
      */
357 374
     private function findBagDefinition(string $name): ?array
358 375
     {
359
-        if (isset($this->bagAssociations[$name])) {
376
+        if (isset($this->bagAssociations[$name]))
377
+        {
360 378
             return $this->bagAssociations[$name];
361 379
         }
362 380
 
363
-        foreach ($this->bagAssociations as $bag) {
364
-            if (isset($bag['alias']) && $bag['alias'] === $name) {
381
+        foreach ($this->bagAssociations as $bag)
382
+        {
383
+            if (isset($bag['alias']) && $bag['alias'] === $name)
384
+            {
365 385
                 return $bag;
366 386
             }
367 387
         }
Please login to merge, or discard this patch.
src/Http/src/Request/ServerBag.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -10,14 +10,14 @@
 block discarded – undo
10 10
  */
11 11
 final class ServerBag extends InputBag
12 12
 {
13
-    public function has(int|string $name): bool
13
+    public function has(int | string $name): bool
14 14
     {
15
-        return parent::has($this->normalize((string) $name));
15
+        return parent::has($this->normalize((string)$name));
16 16
     }
17 17
 
18
-    public function get(int|string $name, mixed $default = null): mixed
18
+    public function get(int | string $name, mixed $default = null): mixed
19 19
     {
20
-        return parent::get($this->normalize((string) $name), $default);
20
+        return parent::get($this->normalize((string)$name), $default);
21 21
     }
22 22
 
23 23
     public function fetch(array $keys, bool $fill = false, mixed $filler = null): array
Please login to merge, or discard this patch.
src/Http/src/Request/FilesBag.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -20,9 +20,9 @@
 block discarded – undo
20 20
     /**
21 21
      * Locale local filename (virtual filename) associated with UploadedFile resource.
22 22
      */
23
-    public function getFilename(int|string $name): ?string
23
+    public function getFilename(int | string $name): ?string
24 24
     {
25
-        if (!empty($file = $this->get($name)) && !$file->getError()) {
25
+        if (!empty($file = $this->get($name)) && !$file->getError()){
26 26
             return StreamWrapper::getFilename($file->getStream());
27 27
         }
28 28
 
Please login to merge, or discard this patch.
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,8 @@
 block discarded – undo
22 22
      */
23 23
     public function getFilename(int|string $name): ?string
24 24
     {
25
-        if (!empty($file = $this->get($name)) && !$file->getError()) {
25
+        if (!empty($file = $this->get($name)) && !$file->getError())
26
+        {
26 27
             return StreamWrapper::getFilename($file->getStream());
27 28
         }
28 29
 
Please login to merge, or discard this patch.
src/Http/src/Request/HeadersBag.php 2 patches
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -10,19 +10,19 @@  discard block
 block discarded – undo
10 10
  */
11 11
 final class HeadersBag extends InputBag
12 12
 {
13
-    public function has(int|string $name): bool
13
+    public function has(int | string $name): bool
14 14
     {
15
-        return parent::has($this->normalize((string) $name));
15
+        return parent::has($this->normalize((string)$name));
16 16
     }
17 17
 
18 18
     /**
19 19
      * @param false|string $implode Implode header lines, false to return header as array.
20 20
      */
21
-    public function get(int|string $name, mixed $default = null, bool|string $implode = ','): array|string|null
21
+    public function get(int | string $name, mixed $default = null, bool | string $implode = ','): array | string | null
22 22
     {
23
-        $value = parent::get($this->normalize((string) $name), $default);
23
+        $value = parent::get($this->normalize((string)$name), $default);
24 24
 
25
-        if (\is_string($implode) && !empty($implode) && \is_array($value)) {
25
+        if (\is_string($implode) && !empty($implode) && \is_array($value)){
26 26
             return \implode($implode, $value);
27 27
         }
28 28
 
@@ -34,12 +34,12 @@  discard block
 block discarded – undo
34 34
      */
35 35
     public function fetch(array $keys, bool $fill = false, mixed $filler = null, ?string $implode = ','): array
36 36
     {
37
-        $keys = \array_map(fn (string $header): string => $this->normalize($header), $keys);
37
+        $keys = \array_map(fn (string $header) : string => $this->normalize($header), $keys);
38 38
 
39 39
         $values = parent::fetch($keys, $fill, $filler);
40 40
 
41
-        if (!empty($implode)) {
42
-            foreach ($values as &$value) {
41
+        if (!empty($implode)){
42
+            foreach ($values as &$value){
43 43
                 $value = \implode($implode, $value);
44 44
                 unset($value);
45 45
             }
Please login to merge, or discard this patch.
Braces   +6 added lines, -3 removed lines patch added patch discarded remove patch
@@ -22,7 +22,8 @@  discard block
 block discarded – undo
22 22
     {
23 23
         $value = parent::get($this->normalize((string) $name), $default);
24 24
 
25
-        if (\is_string($implode) && !empty($implode) && \is_array($value)) {
25
+        if (\is_string($implode) && !empty($implode) && \is_array($value))
26
+        {
26 27
             return \implode($implode, $value);
27 28
         }
28 29
 
@@ -38,8 +39,10 @@  discard block
 block discarded – undo
38 39
 
39 40
         $values = parent::fetch($keys, $fill, $filler);
40 41
 
41
-        if (!empty($implode)) {
42
-            foreach ($values as &$value) {
42
+        if (!empty($implode))
43
+        {
44
+            foreach ($values as &$value)
45
+            {
43 46
                 $value = \implode($implode, $value);
44 47
                 unset($value);
45 48
             }
Please login to merge, or discard this patch.
src/Http/src/Middleware/ErrorHandlerMiddleware/EnvSuppressErrors.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@
 block discarded – undo
10 10
 {
11 11
     public function __construct(
12 12
         private DebugMode $debugMode
13
-    ) {
13
+    ){
14 14
     }
15 15
 
16 16
     public function suppressed(): bool
Please login to merge, or discard this patch.