| @@ -144,7 +144,7 @@ discard block | ||
| 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 | ||
| 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 | } | 
| @@ -34,7 +34,7 @@ discard block | ||
| 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 | ||
| 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 | |
| @@ -14,9 +14,9 @@ discard block | ||
| 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 | ||
| 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 | ||
| 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 | ||
| 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 | |