Completed
Push — master ( 069e15...978af9 )
by Jan
02:19
created
src/Api/ApiClient.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
 		$this->apiUrl = $apiUrl;
47 47
 	}
48 48
 
49
-	public function setLogger(?LoggerInterface $logger): void
49
+	public function setLogger(?LoggerInterface $logger) : void
50 50
 	{
51 51
 		$this->logger = $logger;
52 52
 	}
@@ -75,7 +75,7 @@  discard block
 block discarded – undo
75 75
 		SignatureDataFormatter $responseSignatureDataFormatter,
76 76
 		?\Closure $responseValidityCallback = null,
77 77
 		array $extensions = []
78
-	): Response
78
+	) : Response
79 79
 	{
80 80
 		return $this->request(
81 81
 			HttpMethod::get(HttpMethod::GET),
@@ -180,11 +180,11 @@  discard block
 block discarded – undo
180 180
 		HttpMethod $method,
181 181
 		string $url,
182 182
 		array $queries = [],
183
-		?array $data,
183
+		? array $data,
184 184
 		SignatureDataFormatter $responseSignatureDataFormatter,
185 185
 		?\Closure $responseValidityCallback,
186 186
 		array $extensions = []
187
-	): Response
187
+	) : Response
188 188
 	{
189 189
 		$urlFirstQueryPosition = strpos($url, '{');
190 190
 		$endpointName = ($urlFirstQueryPosition !== false ? substr($url, 0, $urlFirstQueryPosition - 1) : $url);
@@ -341,7 +341,7 @@  discard block
 block discarded – undo
341 341
 	 * @param \SlevomatCsobGateway\Api\Response $response
342 342
 	 * @param float $responseTime
343 343
 	 */
344
-	private function logRequest(HttpMethod $method, string $url, array $queries, ?array $requestData, Response $response, float $responseTime): void
344
+	private function logRequest(HttpMethod $method, string $url, array $queries, ? array $requestData, Response $response, float $responseTime) : void
345 345
 	{
346 346
 		if ($this->logger === null) {
347 347
 			return;
Please login to merge, or discard this patch.