@@ -105,7 +105,7 @@ discard block |
||
| 105 | 105 | { |
| 106 | 106 | $this->data['court_all'] = null; |
| 107 | 107 | if ($this->data['file_number'] && $this->data['court']) { |
| 108 | - $this->data['court_all'] = $this->data['file_number'] . ', ' . $this->data['court']; |
|
| 108 | + $this->data['court_all'] = $this->data['file_number'].', '.$this->data['court']; |
|
| 109 | 109 | } |
| 110 | 110 | } |
| 111 | 111 | |
@@ -133,7 +133,7 @@ discard block |
||
| 133 | 133 | |
| 134 | 134 | public function setHouseNumber(string $cd, string $co): self |
| 135 | 135 | { |
| 136 | - $this->data['house_number'] = self::toNull(trim($cd . '/' . $co, '/')); |
|
| 136 | + $this->data['house_number'] = self::toNull(trim($cd.'/'.$co, '/')); |
|
| 137 | 137 | return $this; |
| 138 | 138 | } |
| 139 | 139 | |
@@ -123,7 +123,7 @@ |
||
| 123 | 123 | 'ico' => $inn, |
| 124 | 124 | 'aktivni' => $activeOnly ? 'true' : 'false', |
| 125 | 125 | ]; |
| 126 | - return self::URL . '?' . http_build_query($parameters); |
|
| 126 | + return self::URL.'?'.http_build_query($parameters); |
|
| 127 | 127 | } |
| 128 | 128 | |
| 129 | 129 | |
@@ -32,15 +32,15 @@ |
||
| 32 | 32 | } |
| 33 | 33 | |
| 34 | 34 | /** |
| 35 | - * @return array |
|
| 36 | - */ |
|
| 35 | + * @return array |
|
| 36 | + */ |
|
| 37 | 37 | public function getCurlOptions(): array { |
| 38 | 38 | return $this->curlOptions; |
| 39 | 39 | } |
| 40 | 40 | |
| 41 | 41 | /** |
| 42 | - * @param array $curlOptions |
|
| 43 | - */ |
|
| 42 | + * @param array $curlOptions |
|
| 43 | + */ |
|
| 44 | 44 | public function setCurlOptions(array $curlOptions): void { |
| 45 | 45 | $this->curlOptions = $curlOptions; |
| 46 | 46 | } |
@@ -21,8 +21,8 @@ |
||
| 21 | 21 | |
| 22 | 22 | public function createGuzzleClient(array $curlOptions) |
| 23 | 23 | { |
| 24 | - if (!isset($curlOptions[CURLOPT_CONNECTTIMEOUT])) { |
|
| 25 | - $curlOptions[CURLOPT_CONNECTTIMEOUT] = 30; |
|
| 24 | + if (!isset($curlOptions[CURLOPT_CONNECTTIMEOUT])) { |
|
| 25 | + $curlOptions[CURLOPT_CONNECTTIMEOUT] = 30; |
|
| 26 | 26 | } |
| 27 | 27 | return new GuzzleHttp\Client(['curl' => $curlOptions]); |
| 28 | 28 | } |