@@ -52,7 +52,7 @@ |
||
| 52 | 52 | private function loadXML($inn) |
| 53 | 53 | {
|
| 54 | 54 | $client = new GuzzleHttp\Client(); |
| 55 | - $xmlSource = $client->request('GET', self::URL . (string) $inn)->getBody();
|
|
| 55 | + $xmlSource = $client->request('GET', self::URL.(string) $inn)->getBody();
|
|
| 56 | 56 | $xml = @simplexml_load_string($xmlSource); |
| 57 | 57 | if (!$xml) {
|
| 58 | 58 | throw new InNotFoundExceptions; |
@@ -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); |