@@ -43,7 +43,7 @@ discard block |
||
43 | 43 | /** |
44 | 44 | * |
45 | 45 | */ |
46 | - public function getID():?int{ |
|
46 | + public function getID(): ?int{ |
|
47 | 47 | return $this->id; |
48 | 48 | } |
49 | 49 | |
@@ -82,7 +82,7 @@ discard block |
||
82 | 82 | /** |
83 | 83 | * |
84 | 84 | */ |
85 | - public function handleResponse():?RequestInterface{ |
|
85 | + public function handleResponse(): ?RequestInterface{ |
|
86 | 86 | $info = curl_getinfo($this->curl); |
87 | 87 | |
88 | 88 | return $this->multiResponseHandler->handleResponse( |
@@ -153,7 +153,7 @@ |
||
153 | 153 | CURLOPT_URL => (string)$this->request->getUri()->withFragment(''), |
154 | 154 | CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_2TLS, |
155 | 155 | CURLOPT_USERAGENT => $this->options->user_agent, |
156 | - CURLOPT_PROTOCOLS => CURLPROTO_HTTP | CURLPROTO_HTTPS, |
|
156 | + CURLOPT_PROTOCOLS => CURLPROTO_HTTP|CURLPROTO_HTTPS, |
|
157 | 157 | CURLOPT_SSL_VERIFYPEER => true, |
158 | 158 | CURLOPT_SSL_VERIFYHOST => 2, |
159 | 159 | CURLOPT_CAINFO => $this->options->ca_info, |
@@ -50,7 +50,7 @@ |
||
50 | 50 | $this->logger->error($e->getTraceAsString()); |
51 | 51 | |
52 | 52 | if(!$e instanceof ClientExceptionInterface){ |
53 | - throw new ClientException('unexpected exception, does not implement "ClientExceptionInterface": '.get_class($e)); // @codeCoverageIgnore |
|
53 | + throw new ClientException('unexpected exception, does not implement "ClientExceptionInterface": '.get_class($e)); // @codeCoverageIgnore |
|
54 | 54 | } |
55 | 55 | |
56 | 56 | throw $e; |