@@ -1,5 +1,5 @@  | 
                                                    ||
| 1 | 1 | <?php  | 
                                                        
| 2 | -declare(strict_types=1);  | 
                                                        |
| 2 | +declare(strict_types = 1);  | 
                                                        |
| 3 | 3 | |
| 4 | 4 | /**  | 
                                                        
| 5 | 5 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS  | 
                                                        
@@ -1,5 +1,5 @@  | 
                                                    ||
| 1 | 1 | <?php  | 
                                                        
| 2 | -declare(strict_types=1);  | 
                                                        |
| 2 | +declare(strict_types = 1);  | 
                                                        |
| 3 | 3 | |
| 4 | 4 | /**  | 
                                                        
| 5 | 5 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS  | 
                                                        
@@ -1,5 +1,5 @@  | 
                                                    ||
| 1 | 1 | <?php  | 
                                                        
| 2 | -declare(strict_types=1);  | 
                                                        |
| 2 | +declare(strict_types = 1);  | 
                                                        |
| 3 | 3 | |
| 4 | 4 | /**  | 
                                                        
| 5 | 5 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS  | 
                                                        
@@ -1,5 +1,5 @@  | 
                                                    ||
| 1 | 1 | <?php  | 
                                                        
| 2 | -declare(strict_types=1);  | 
                                                        |
| 2 | +declare(strict_types = 1);  | 
                                                        |
| 3 | 3 | |
| 4 | 4 | /**  | 
                                                        
| 5 | 5 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS  | 
                                                        
@@ -1,5 +1,5 @@  | 
                                                    ||
| 1 | 1 | <?php  | 
                                                        
| 2 | -declare(strict_types=1);  | 
                                                        |
| 2 | +declare(strict_types = 1);  | 
                                                        |
| 3 | 3 | |
| 4 | 4 | /**  | 
                                                        
| 5 | 5 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS  | 
                                                        
@@ -1,5 +1,5 @@ discard block  | 
                                                    ||
| 1 | 1 | <?php  | 
                                                        
| 2 | -declare(strict_types=1);  | 
                                                        |
| 2 | +declare(strict_types = 1);  | 
                                                        |
| 3 | 3 | |
| 4 | 4 | /**  | 
                                                        
| 5 | 5 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS  | 
                                                        
@@ -90,7 +90,7 @@ discard block  | 
                                                    ||
| 90 | 90 | */  | 
                                                        
| 91 | 91 | public function __construct(\stdClass $jsonContent)  | 
                                                        
| 92 | 92 |      { | 
                                                        
| 93 | - $arrayContent = (array)$jsonContent;  | 
                                                        |
| 93 | + $arrayContent = (array) $jsonContent;  | 
                                                        |
| 94 | 94 |          foreach ($arrayContent as $element => $value) { | 
                                                        
| 95 | 95 |              if (property_exists($this, $element)) { | 
                                                        
| 96 | 96 |                  if (isset($this->primitiveCasts[$element])) { | 
                                                        
@@ -1,5 +1,5 @@  | 
                                                    ||
| 1 | 1 | <?php  | 
                                                        
| 2 | -declare(strict_types=1);  | 
                                                        |
| 2 | +declare(strict_types = 1);  | 
                                                        |
| 3 | 3 | |
| 4 | 4 | /**  | 
                                                        
| 5 | 5 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS  | 
                                                        
@@ -1,5 +1,5 @@ discard block  | 
                                                    ||
| 1 | 1 | <?php  | 
                                                        
| 2 | -declare(strict_types=1);  | 
                                                        |
| 2 | +declare(strict_types = 1);  | 
                                                        |
| 3 | 3 | |
| 4 | 4 | /**  | 
                                                        
| 5 | 5 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS  | 
                                                        
@@ -93,7 +93,7 @@ discard block  | 
                                                    ||
| 93 | 93 |      { | 
                                                        
| 94 | 94 | $this->headers = [  | 
                                                        
| 95 | 95 | PrestoHeaders::PRESTO_USER => $this->session->getUser(),  | 
                                                        
| 96 | - 'User-Agent' => $this->session->getSource() . '/' . PrestoHeaders::VERSION,  | 
                                                        |
| 96 | + 'User-Agent' => $this->session->getSource().'/'.PrestoHeaders::VERSION,  | 
                                                        |
| 97 | 97 | ];  | 
                                                        
| 98 | 98 | }  | 
                                                        
| 99 | 99 | |
@@ -115,7 +115,7 @@ discard block  | 
                                                    ||
| 115 | 115 | $sessions = [];  | 
                                                        
| 116 | 116 | /** @var Property $property */  | 
                                                        
| 117 | 117 |              foreach ($sessionProperty as $property) { | 
                                                        
| 118 | - $sessions[] = $property->getKey() . '=' . $property->getValue();  | 
                                                        |
| 118 | + $sessions[] = $property->getKey().'='.$property->getValue();  | 
                                                        |
| 119 | 119 | }  | 
                                                        
| 120 | 120 | $request = $request->withAddedHeader(  | 
                                                        
| 121 | 121 | PrestoHeaders::PRESTO_SESSION,  | 
                                                        
@@ -127,7 +127,7 @@ discard block  | 
                                                    ||
| 127 | 127 | $statements = [];  | 
                                                        
| 128 | 128 |              foreach ($preparedStatements as $preparedStatement) { | 
                                                        
| 129 | 129 | $statements[] = urlencode($preparedStatement->getKey())  | 
                                                        
| 130 | - . '=' . urlencode($preparedStatement->getValue());  | 
                                                        |
| 130 | + . '='.urlencode($preparedStatement->getValue());  | 
                                                        |
| 131 | 131 | }  | 
                                                        
| 132 | 132 | $request = $request->withAddedHeader(  | 
                                                        
| 133 | 133 | PrestoHeaders::PRESTO_PREPARED_STATEMENT,  | 
                                                        
@@ -148,7 +148,7 @@ discard block  | 
                                                    ||
| 148 | 148 | public function execute(int $timeout = 500000, bool $debug = false)  | 
                                                        
| 149 | 149 |      { | 
                                                        
| 150 | 150 | $normalize = UriNormalizer::normalize(  | 
                                                        
| 151 | - new Uri($this->session->getHost() . StatementClient::STATEMENT_URI),  | 
                                                        |
| 151 | + new Uri($this->session->getHost().StatementClient::STATEMENT_URI),  | 
                                                        |
| 152 | 152 | UriNormalizer::REMOVE_DUPLICATE_SLASHES  | 
                                                        
| 153 | 153 | );  | 
                                                        
| 154 | 154 | $request = new Request(RequestInterface::POST, $normalize, $this->headers);  | 
                                                        
@@ -231,9 +231,9 @@ discard block  | 
                                                    ||
| 231 | 231 | 'timeout' => $timeout,  | 
                                                        
| 232 | 232 | 'debug' => $debug,  | 
                                                        
| 233 | 233 | ]);  | 
                                                        
| 234 | -            $promise->then(function (ResponseInterface $response) { | 
                                                        |
| 234 | +            $promise->then(function(ResponseInterface $response) { | 
                                                        |
| 235 | 235 | $this->fulfilled = (StatusCodeInterface::STATUS_NO_CONTENT === $response->getStatusCode());  | 
                                                        
| 236 | -            }, function (RequestException $e) { | 
                                                        |
| 236 | +            }, function(RequestException $e) { | 
                                                        |
| 237 | 237 | throw new RequestFailedException($e->getMessage(), $e->getCode(), $e);  | 
                                                        
| 238 | 238 | });  | 
                                                        
| 239 | 239 | $promise->wait();  | 
                                                        
@@ -1,5 +1,5 @@  | 
                                                    ||
| 1 | 1 | <?php  | 
                                                        
| 2 | -declare(strict_types=1);  | 
                                                        |
| 2 | +declare(strict_types = 1);  | 
                                                        |
| 3 | 3 | |
| 4 | 4 | /**  | 
                                                        
| 5 | 5 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS  |