Completed
Push — master ( 76d22d...173944 )
by Milan
22s
created
src/Http/AresRequestProvider.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -12,9 +12,9 @@  discard block
 block discarded – undo
12 12
 class AresRequestProvider
13 13
 {
14 14
 	private const BASE_URL = 'https://wwwinfo.mfcr.cz/cgi-bin/ares';
15
-	protected const ONE_IN = self::BASE_URL . '/darv_bas.cgi';
16
-	protected const ONE_BL = self::BASE_URL . '/darv_or.cgi';
17
-	protected const MULTI_IN = self::BASE_URL . '/xar.cgi';
15
+	protected const ONE_IN = self::BASE_URL.'/darv_bas.cgi';
16
+	protected const ONE_BL = self::BASE_URL.'/darv_or.cgi';
17
+	protected const MULTI_IN = self::BASE_URL.'/xar.cgi';
18 18
 
19 19
 
20 20
 	public function __construct(
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
 			'ico' => $in,
36 36
 		];
37 37
 
38
-		$url = self::ONE_BL . '?' . http_build_query($parameters);
38
+		$url = self::ONE_BL.'?'.http_build_query($parameters);
39 39
 
40 40
 		return $this->xmlResponse($url, $in);
41 41
 	}
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
 			'aktivni' => 'false',
52 52
 		];
53 53
 
54
-		$url = self::ONE_IN . '?' . http_build_query($parameters);
54
+		$url = self::ONE_IN.'?'.http_build_query($parameters);
55 55
 
56 56
 		return $this->xmlResponse($url, $in);
57 57
 	}
@@ -119,7 +119,7 @@  discard block
 block discarded – undo
119 119
 			$content .= "<Dotaz><Pomocne_ID>$key</Pomocne_ID><ICO>$in</ICO></Dotaz>";
120 120
 		}
121 121
 
122
-		return $content . '</are:Ares_dotazy>';
122
+		return $content.'</are:Ares_dotazy>';
123 123
 	}
124 124
 
125 125
 
Please login to merge, or discard this patch.
src/Http/RequestProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
 	}
21 21
 
22 22
 
23
-	public function xmlResponse(RequestInterface|string $url): \SimpleXMLElement
23
+	public function xmlResponse(RequestInterface | string $url): \SimpleXMLElement
24 24
 	{
25 25
 		$request = $url instanceof RequestInterface ? $url : $this->createRequest($url);
26 26
 		try {
Please login to merge, or discard this patch.