@@ -82,7 +82,7 @@ |
||
| 82 | 82 | private function setFileNumberAndCourt() |
| 83 | 83 | { |
| 84 | 84 | if (!isset($this->data['court_all']) && array_key_exists('file_number', $this->data) && array_key_exists('court', $this->data)) { |
| 85 | - $this->data['court_all'] = $this->data['file_number'] . ', ' . $this->data['court']; |
|
| 85 | + $this->data['court_all'] = $this->data['file_number'].', '.$this->data['court']; |
|
| 86 | 86 | } |
| 87 | 87 | } |
| 88 | 88 | |
@@ -90,11 +90,11 @@ |
||
| 90 | 90 | { |
| 91 | 91 | $street = strval($uc); |
| 92 | 92 | if (is_numeric($street)) { |
| 93 | - $street = $nco . ' ' . $street; |
|
| 93 | + $street = $nco.' '.$street; |
|
| 94 | 94 | } |
| 95 | 95 | |
| 96 | 96 | if ($co) { |
| 97 | - $street .= '/' . $co; |
|
| 97 | + $street .= '/'.$co; |
|
| 98 | 98 | } |
| 99 | 99 | |
| 100 | 100 | $this->data->setStreet($street); |
@@ -29,7 +29,6 @@ discard block |
||
| 29 | 29 | /** |
| 30 | 30 | * Load fresh data. |
| 31 | 31 | * @param int|string $in |
| 32 | - * @param bool $activeOnly |
|
| 33 | 32 | * @return IData |
| 34 | 33 | * @throws IdentificationNumberNotFoundException |
| 35 | 34 | */ |
@@ -98,6 +97,10 @@ discard block |
||
| 98 | 97 | } |
| 99 | 98 | } |
| 100 | 99 | |
| 100 | + /** |
|
| 101 | + * @param string $inn |
|
| 102 | + * @param boolean $activeOnly |
|
| 103 | + */ |
|
| 101 | 104 | private function createUrl($inn, $activeOnly) |
| 102 | 105 | {
|
| 103 | 106 | $this->activeMode = (bool) $activeOnly; |
@@ -105,7 +105,7 @@ |
||
| 105 | 105 | 'ico' => $inn, |
| 106 | 106 | 'aktivni' => $activeOnly ? 'true' : 'false' |
| 107 | 107 | ]; |
| 108 | - return self::URL . '?' . http_build_query($parameters); |
|
| 108 | + return self::URL.'?'.http_build_query($parameters); |
|
| 109 | 109 | } |
| 110 | 110 | |
| 111 | 111 | private function createDataProvider() |