@@ -54,7 +54,7 @@ |
||
54 | 54 | } |
55 | 55 | |
56 | 56 | if ($this->dissolved instanceof \DateTimeInterface) { |
57 | - $data['dissolved'] = self::formatDate($this->dissolved); |
|
57 | + $data['dissolved'] = self::formatDate($this->dissolved); |
|
58 | 58 | } |
59 | 59 | return $data; |
60 | 60 | } |
@@ -116,7 +116,7 @@ discard block |
||
116 | 116 | { |
117 | 117 | $this->data['court_all'] = null; |
118 | 118 | if ($this->data['file_number'] && $this->data['court']) { |
119 | - $this->data['court_all'] = $this->data['file_number'] . ', ' . $this->data['court']; |
|
119 | + $this->data['court_all'] = $this->data['file_number'].', '.$this->data['court']; |
|
120 | 120 | } |
121 | 121 | } |
122 | 122 | |
@@ -144,7 +144,7 @@ discard block |
||
144 | 144 | |
145 | 145 | public function setHouseNumber(string $cd, string $co, string $ca) |
146 | 146 | { |
147 | - $houseNumber = self::toNull(trim($cd . '/' . $co, '/')); |
|
147 | + $houseNumber = self::toNull(trim($cd.'/'.$co, '/')); |
|
148 | 148 | if ($houseNumber === NULL) { |
149 | 149 | $houseNumber = self::toNull($ca); |
150 | 150 | } |
@@ -40,7 +40,7 @@ discard block |
||
40 | 40 | $output = []; |
41 | 41 | |
42 | 42 | while (count(array_slice($array, $offset)) > 0) { |
43 | - $slice = array_slice($array, $offset,100, TRUE); |
|
43 | + $slice = array_slice($array, $offset, 100, TRUE); |
|
44 | 44 | $offset += 100; |
45 | 45 | |
46 | 46 | $response = $client->request('POST', self::POST_URL, [ |
@@ -61,11 +61,11 @@ discard block |
||
61 | 61 | ->children('are', true); |
62 | 62 | |
63 | 63 | foreach ($responseData as $item) { |
64 | - $D = $item->children('D' , true); |
|
64 | + $D = $item->children('D', true); |
|
65 | 65 | $pid = (int) $D->PID->__toString(); |
66 | 66 | |
67 | 67 | try { |
68 | - if($D->E->asXML() !== FALSE) { |
|
68 | + if ($D->E->asXML() !== FALSE) { |
|
69 | 69 | $DE = $D->E->children('D', TRUE); |
70 | 70 | throw new IdentificationNumberNotFoundException($DE->ET->__toString(), $DE->EK->__toString()); |
71 | 71 | } |
@@ -165,7 +165,7 @@ discard block |
||
165 | 165 | 'ico' => $inn, |
166 | 166 | 'aktivni' => 'false', |
167 | 167 | ]; |
168 | - return self::URL . '?' . http_build_query($parameters); |
|
168 | + return self::URL.'?'.http_build_query($parameters); |
|
169 | 169 | } |
170 | 170 | |
171 | 171 | |
@@ -229,8 +229,8 @@ discard block |
||
229 | 229 | xmlns:are="http://wwwinfo.mfcr.cz/ares/xml_doc/schemas/ares/ares_request_orrg/v_1.0.0" |
230 | 230 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
231 | 231 | 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" |
232 | - dotaz_datum_cas="' . $date->format('Y-m-dTH:i:s') . '" |
|
233 | - dotaz_pocet="' . count($items) . '" |
|
232 | + dotaz_datum_cas="' . $date->format('Y-m-dTH:i:s').'" |
|
233 | + dotaz_pocet="' . count($items).'" |
|
234 | 234 | dotaz_typ="Basic" |
235 | 235 | vystup_format="XML" |
236 | 236 | validation_XSLT="http://wwwinfo.mfcr.cz/ares/xml_doc/schemas/ares/ares_answer/v_1.0.0/ares_answer.xsl" |
@@ -239,7 +239,7 @@ discard block |
||
239 | 239 | '; |
240 | 240 | |
241 | 241 | foreach ($items as $key => $ic) { |
242 | - $content .= '<Dotaz><Pomocne_ID>' . $key . '</Pomocne_ID><ICO>' . $ic . '</ICO></Dotaz>'; |
|
242 | + $content .= '<Dotaz><Pomocne_ID>'.$key.'</Pomocne_ID><ICO>'.$ic.'</ICO></Dotaz>'; |
|
243 | 243 | } |
244 | 244 | |
245 | 245 | $content .= '</are:Ares_dotazy>'; |