@@ -102,7 +102,7 @@ |
||
| 102 | 102 | $this->getLogger()->debug(sprintf('REQ: %s', $method), $args); |
| 103 | 103 | |
| 104 | 104 | $resp = $this->oCacheAdapter->useCache( |
| 105 | - static function () use ($self, $method, $args) { |
|
| 105 | + static function() use ($self, $method, $args) { |
|
| 106 | 106 | $res = $self->getSoap()->__soapCall($method, [$args]); |
| 107 | 107 | $resultKey = $method . 'Result'; |
| 108 | 108 | if (!property_exists($res, $resultKey)) { |
@@ -34,11 +34,11 @@ discard block |
||
| 34 | 34 | /** |
| 35 | 35 | * @var \DOMDocument|null |
| 36 | 36 | */ |
| 37 | - private $soapDoc = null; |
|
| 37 | + private $soapDoc = null; |
|
| 38 | 38 | /** |
| 39 | 39 | * @var \DOMElement|null |
| 40 | 40 | */ |
| 41 | - private $envelope = null; |
|
| 41 | + private $envelope = null; |
|
| 42 | 42 | /** |
| 43 | 43 | * @var \DOMXPath|null |
| 44 | 44 | */ |
@@ -46,7 +46,7 @@ discard block |
||
| 46 | 46 | /** |
| 47 | 47 | * @var \DOMElement|\DOMNode|null |
| 48 | 48 | */ |
| 49 | - private $header = null; |
|
| 49 | + private $header = null; |
|
| 50 | 50 | |
| 51 | 51 | public function __construct(DOMDocument $doc) |
| 52 | 52 | { |
@@ -67,15 +67,15 @@ |
||
| 67 | 67 | $this->streetIdentity = $oData->Cecha; |
| 68 | 68 | $this->communeTypeId = $oData->GmiRodzaj ?? $oData->RodzGmi ?? null; |
| 69 | 69 | $this->communeId = $oData->GmiSymbol ?? $oData->Gmi ?? null; |
| 70 | - $this->communeName = $oData->Gmina ?? null; |
|
| 70 | + $this->communeName = $oData->Gmina ?? null; |
|
| 71 | 71 | $this->cityId = $oData->IdentyfikatorMiejscowosci; |
| 72 | 72 | $this->streetId = $oData->IdentyfikatorUlicy ?? $oData->SymbolUlicy ?? null; |
| 73 | - $this->streetName = $oData->Nazwa ?? null; |
|
| 74 | - $this->cityName = $oData->NazwaMiejscowosci ?? null; |
|
| 75 | - $this->districtId = $oData->PowSymbol ?? $oData->Pow ?? null; |
|
| 76 | - $this->districtName = $oData->Powiat ?? null; |
|
| 77 | - $this->provinceId = $oData->WojSymbol ?? $oData->Woj ?? null; |
|
| 78 | - $this->provinceName = $oData->Wojewodztwo ?? null; |
|
| 73 | + $this->streetName = $oData->Nazwa ?? null; |
|
| 74 | + $this->cityName = $oData->NazwaMiejscowosci ?? null; |
|
| 75 | + $this->districtId = $oData->PowSymbol ?? $oData->Pow ?? null; |
|
| 76 | + $this->districtName = $oData->Powiat ?? null; |
|
| 77 | + $this->provinceId = $oData->WojSymbol ?? $oData->Woj ?? null; |
|
| 78 | + $this->provinceName = $oData->Wojewodztwo ?? null; |
|
| 79 | 79 | |
| 80 | 80 | $dataStanu = $oData->DataStanu ?? $oData->StanNa ?? null; |
| 81 | 81 | try { |