@@ -104,7 +104,7 @@ |
||
| 104 | 104 | 'ico' => $inn, |
| 105 | 105 | 'aktivni' => 'false', |
| 106 | 106 | ]; |
| 107 | - return self::URL . '?' . http_build_query($parameters); |
|
| 107 | + return self::URL.'?'.http_build_query($parameters); |
|
| 108 | 108 | } |
| 109 | 109 | |
| 110 | 110 | |
@@ -172,9 +172,9 @@ |
||
| 172 | 172 | |
| 173 | 173 | private static function exists(?\SimpleXMLElement $element, string $property): string |
| 174 | 174 | { |
| 175 | - if ($element === null) { |
|
| 176 | - return ''; |
|
| 177 | - } |
|
| 175 | + if ($element === null) { |
|
| 176 | + return ''; |
|
| 177 | + } |
|
| 178 | 178 | return isset($element->{$property}) ? ((string) $element->{$property}) : ''; |
| 179 | 179 | } |
| 180 | 180 | |
@@ -146,7 +146,7 @@ discard block |
||
| 146 | 146 | { |
| 147 | 147 | $this->data['court_all'] = null; |
| 148 | 148 | if ($this->data['file_number'] && $this->data['court']) { |
| 149 | - $this->data['court_all'] = $this->data['file_number'] . ', ' . $this->data['court']; |
|
| 149 | + $this->data['court_all'] = $this->data['file_number'].', '.$this->data['court']; |
|
| 150 | 150 | } |
| 151 | 151 | } |
| 152 | 152 | |
@@ -186,7 +186,7 @@ discard block |
||
| 186 | 186 | */ |
| 187 | 187 | public function setHouseNumber(string $cd, string $co, string $ca) |
| 188 | 188 | { |
| 189 | - $houseNumber = self::toNull(trim($cd . '/' . $co, '/')); |
|
| 189 | + $houseNumber = self::toNull(trim($cd.'/'.$co, '/')); |
|
| 190 | 190 | if ($houseNumber === null) { |
| 191 | 191 | $houseNumber = self::toNull($ca); |
| 192 | 192 | } |
@@ -16,8 +16,8 @@ |
||
| 16 | 16 | xmlns:are="http://wwwinfo.mfcr.cz/ares/xml_doc/schemas/ares/ares_request_orrg/v_1.0.0" |
| 17 | 17 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 18 | 18 | xsi:schemaLocation="http://wwwinfo.mfcr.cz/ares/xml_doc/schemas/ares/ares_request_orrg/v_1.0.0 http://wwwinfo.mfcr.cz/ares/xml_doc/schemas/ares/ares_request_orrg/v_1.0.0/ares_request_orrg.xsd" |
| 19 | - dotaz_datum_cas="' . $date->format('Y-m-dTH:i:s') . '" |
|
| 20 | - dotaz_pocet="' . count($identificationNumbers) . '" |
|
| 19 | + dotaz_datum_cas="' . $date->format('Y-m-dTH:i:s').'" |
|
| 20 | + dotaz_pocet="' . count($identificationNumbers).'" |
|
| 21 | 21 | dotaz_typ="Basic" |
| 22 | 22 | vystup_format="XML" |
| 23 | 23 | validation_XSLT="http://wwwinfo.mfcr.cz/ares/xml_doc/schemas/ares/ares_answer/v_1.0.0/ares_answer.xsl" |