Completed
Push — master ( 451266...0e297d )
by Milan
15s queued 12s
created
src/Basic/DataProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -144,7 +144,7 @@  discard block
 block discarded – undo
144 144
 	{
145 145
 		$this->data->court_all = null;
146 146
 		if ($this->data->file_number !== null && $this->data->court !== null) {
147
-			$this->data->court_all = $this->data->file_number . ', ' . $this->data->court;
147
+			$this->data->court_all = $this->data->file_number.', '.$this->data->court;
148 148
 		}
149 149
 	}
150 150
 
@@ -189,7 +189,7 @@  discard block
 block discarded – undo
189 189
 	 */
190 190
 	public function setHouseNumber(string $cd, string $co, string $ca)
191 191
 	{
192
-		$houseNumber = self::toNull(trim($cd . '/' . $co, '/'));
192
+		$houseNumber = self::toNull(trim($cd.'/'.$co, '/'));
193 193
 		if ($houseNumber === null) {
194 194
 			$houseNumber = self::toNull($ca);
195 195
 		}
Please login to merge, or discard this patch.
src/BusinessList/ContentProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
 
35 35
 	private static function fixContent(\stdClass $data): \stdClass
36 36
 	{
37
-		self::walk($data->Vypis_OR, function ($value) {
37
+		self::walk($data->Vypis_OR, function($value) {
38 38
 			return Strings::replace(trim($value), '/ {2,}/', ' ');
39 39
 		});
40 40
 
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
 			return;
52 52
 		}
53 53
 
54
-		array_walk($value, function (&$value) use ($callback) {
54
+		array_walk($value, function(&$value) use ($callback) {
55 55
 			if (is_string($value)) {
56 56
 				$value = ($callback)($value);
57 57
 
Please login to merge, or discard this patch.
src/Http/RequestProvider.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -14,9 +14,9 @@  discard block
 block discarded – undo
14 14
 class RequestProvider
15 15
 {
16 16
 	private const BASE_URL = 'https://wwwinfo.mfcr.cz/cgi-bin/ares';
17
-	protected const ONE_IN = self::BASE_URL . '/darv_bas.cgi';
18
-	protected const ONE_BL = self::BASE_URL . '/darv_or.cgi';
19
-	protected const MULTI_IN = self::BASE_URL . '/xar.cgi';
17
+	protected const ONE_IN = self::BASE_URL.'/darv_bas.cgi';
18
+	protected const ONE_BL = self::BASE_URL.'/darv_or.cgi';
19
+	protected const MULTI_IN = self::BASE_URL.'/xar.cgi';
20 20
 
21 21
 	private RequestFactoryInterface $requestFactory;
22 22
 
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
 			'ico' => $in,
47 47
 		];
48 48
 
49
-		$url = self::ONE_BL . '?' . http_build_query($parameters);
49
+		$url = self::ONE_BL.'?'.http_build_query($parameters);
50 50
 
51 51
 		return $this->xmlResponse($url, $in);
52 52
 	}
@@ -62,7 +62,7 @@  discard block
 block discarded – undo
62 62
 			'aktivni' => 'false',
63 63
 		];
64 64
 
65
-		$url = self::ONE_IN . '?' . http_build_query($parameters);
65
+		$url = self::ONE_IN.'?'.http_build_query($parameters);
66 66
 
67 67
 		return $this->xmlResponse($url, $in);
68 68
 	}
@@ -148,7 +148,7 @@  discard block
 block discarded – undo
148 148
 			$content .= "<Dotaz><Pomocne_ID>$key</Pomocne_ID><ICO>$in</ICO></Dotaz>";
149 149
 		}
150 150
 
151
-		return $content . '</are:Ares_dotazy>';
151
+		return $content.'</are:Ares_dotazy>';
152 152
 	}
153 153
 
154 154
 
Please login to merge, or discard this patch.