@@ -104,7 +104,7 @@  | 
                                                    ||
| 104 | 104 | }  | 
                                                        
| 105 | 105 | |
| 106 | 106 | #[\Override]  | 
                                                        
| 107 | - public function gc(int $maxlifetime): int|false  | 
                                                        |
| 107 | + public function gc(int $maxlifetime): int | false  | 
                                                        |
| 108 | 108 |      { | 
                                                        
| 109 | 109 | $this->gcCalled = true;  | 
                                                        
| 110 | 110 | |
@@ -31,7 +31,7 @@  | 
                                                    ||
| 31 | 31 | * @param string|array<mixed> $data  | 
                                                        
| 32 | 32 | * @param array<mixed> $headers  | 
                                                        
| 33 | 33 | */  | 
                                                        
| 34 | - public function json(string|array $data, array $headers = []): Response  | 
                                                        |
| 34 | + public function json(string | array $data, array $headers = []): Response  | 
                                                        |
| 35 | 35 |      { | 
                                                        
| 36 | 36 |          if (is_array($data)) { | 
                                                        
| 37 | 37 | $data = \Safe\json_encode($data);  | 
                                                        
@@ -6,10 +6,10 @@  | 
                                                    ||
| 6 | 6 | |
| 7 | 7 | return RectorConfig::configure()  | 
                                                        
| 8 | 8 | ->withPaths([  | 
                                                        
| 9 | - __DIR__ . '/src',  | 
                                                        |
| 10 | - __DIR__ . '/tests',  | 
                                                        |
| 9 | + __DIR__.'/src',  | 
                                                        |
| 10 | + __DIR__.'/tests',  | 
                                                        |
| 11 | 11 | ])  | 
                                                        
| 12 | 12 | // uncomment to reach your current PHP version  | 
                                                        
| 13 | 13 | ->withPhpSets(php83:true)  | 
                                                        
| 14 | 14 | ->withAttributesSets()  | 
                                                        
| 15 | - ->withPreparedSets(deadCode:true,typeDeclarations:true,codeQuality:true);  | 
                                                        |
| 15 | + ->withPreparedSets(deadCode:true, typeDeclarations:true, codeQuality:true);  | 
                                                        |
@@ -48,9 +48,9 @@ discard block  | 
                                                    ||
| 48 | 48 | private function getContentValue(string $key): mixed  | 
                                                        
| 49 | 49 |      { | 
                                                        
| 50 | 50 |          if ($this->getContent()) { | 
                                                        
| 51 | -            try{ | 
                                                        |
| 51 | +            try { | 
                                                        |
| 52 | 52 | return \Safe\json_decode($this->getContent())->$key;  | 
                                                        
| 53 | -            }catch(Exception $e){ | 
                                                        |
| 53 | +            } catch (Exception $e) { | 
                                                        |
| 54 | 54 | return null;  | 
                                                        
| 55 | 55 | }  | 
                                                        
| 56 | 56 | }  | 
                                                        
@@ -75,9 +75,9 @@ discard block  | 
                                                    ||
| 75 | 75 | public function all(): array  | 
                                                        
| 76 | 76 |      { | 
                                                        
| 77 | 77 |          if ($this->getContent()) { | 
                                                        
| 78 | -            try{ | 
                                                        |
| 78 | +            try { | 
                                                        |
| 79 | 79 | return array_merge($this->request->all(), $this->query->all(), \Safe\json_decode($this->getContent(), true));  | 
                                                        
| 80 | -            }catch(Exception $e){ | 
                                                        |
| 80 | +            } catch (Exception $e) { | 
                                                        |
| 81 | 81 | return array_merge($this->request->all(), $this->query->all());  | 
                                                        
| 82 | 82 | }  | 
                                                        
| 83 | 83 | }  | 
                                                        
@@ -91,9 +91,9 @@ discard block  | 
                                                    ||
| 91 | 91 | public function has(string $key): bool  | 
                                                        
| 92 | 92 |      { | 
                                                        
| 93 | 93 |          if ($this->getContent()) { | 
                                                        
| 94 | -            try{ | 
                                                        |
| 94 | +            try { | 
                                                        |
| 95 | 95 | return isset(\Safe\json_decode($this->getContent())->$key) || $this->request->has($key) || $this->query->has($key);  | 
                                                        
| 96 | -            }catch(Exception $e){ | 
                                                        |
| 96 | +            } catch (Exception $e) { | 
                                                        |
| 97 | 97 | return $this->request->has($key) || $this->query->has($key);  | 
                                                        
| 98 | 98 | }  | 
                                                        
| 99 | 99 | }  | 
                                                        
@@ -50,7 +50,7 @@ discard block  | 
                                                    ||
| 50 | 50 |          if ($this->getContent()) { | 
                                                        
| 51 | 51 |              try{ | 
                                                        
| 52 | 52 | return \Safe\json_decode($this->getContent())->$key;  | 
                                                        
| 53 | -            }catch(Exception $e){ | 
                                                        |
| 53 | +            } catch(Exception $e){ | 
                                                        |
| 54 | 54 | return null;  | 
                                                        
| 55 | 55 | }  | 
                                                        
| 56 | 56 | }  | 
                                                        
@@ -77,7 +77,7 @@ discard block  | 
                                                    ||
| 77 | 77 |          if ($this->getContent()) { | 
                                                        
| 78 | 78 |              try{ | 
                                                        
| 79 | 79 | return array_merge($this->request->all(), $this->query->all(), \Safe\json_decode($this->getContent(), true));  | 
                                                        
| 80 | -            }catch(Exception $e){ | 
                                                        |
| 80 | +            } catch(Exception $e){ | 
                                                        |
| 81 | 81 | return array_merge($this->request->all(), $this->query->all());  | 
                                                        
| 82 | 82 | }  | 
                                                        
| 83 | 83 | }  | 
                                                        
@@ -93,7 +93,7 @@ discard block  | 
                                                    ||
| 93 | 93 |          if ($this->getContent()) { | 
                                                        
| 94 | 94 |              try{ | 
                                                        
| 95 | 95 | return isset(\Safe\json_decode($this->getContent())->$key) || $this->request->has($key) || $this->query->has($key);  | 
                                                        
| 96 | -            }catch(Exception $e){ | 
                                                        |
| 96 | +            } catch(Exception $e){ | 
                                                        |
| 97 | 97 | return $this->request->has($key) || $this->query->has($key);  | 
                                                        
| 98 | 98 | }  | 
                                                        
| 99 | 99 | }  | 
                                                        
@@ -8,7 +8,7 @@  | 
                                                    ||
| 8 | 8 | * file that was distributed with this source code.  | 
                                                        
| 9 | 9 | */  | 
                                                        
| 10 | 10 | |
| 11 | - if (!function_exists('response')) { | 
                                                        |
| 11 | +    if (!function_exists('response')) { | 
                                                        |
| 12 | 12 | /**  | 
                                                        
| 13 | 13 | * Get the response object.  | 
                                                        
| 14 | 14 | */  |