@@ -41,10 +41,10 @@ discard block |
||
| 41 | 41 | 'soap_version' => SOAP_1_1, |
| 42 | 42 | 'trace' => 1, |
| 43 | 43 | 'classmap' => [ |
| 44 | - 'item' => Packet\Event::class, // Item согласно wsdl-описанию называется item |
|
| 45 | - 'file' => Packet\Value::class, // value согласно wsdl-описанию называется file |
|
| 46 | - 'error' => Packet\Error::class, // корневая ошибка |
|
| 47 | - 'Error' => Packet\Error::class, // ошибка конкретного трека |
|
| 44 | + 'item' => Packet\Event::class, // Item согласно wsdl-описанию называется item |
|
| 45 | + 'file' => Packet\Value::class, // value согласно wsdl-описанию называется file |
|
| 46 | + 'error' => Packet\Error::class, // корневая ошибка |
|
| 47 | + 'Error' => Packet\Error::class, // ошибка конкретного трека |
|
| 48 | 48 | 'operation' => Packet\Operation::class, // Operation согласно wsdl-описанию называется operation |
| 49 | 49 | 'ticketResponse' => TicketResponse::class, |
| 50 | 50 | 'answerByTicketResponse' => TrackingResponse::class, |
@@ -120,7 +120,7 @@ discard block |
||
| 120 | 120 | |
| 121 | 121 | public function getClient(): \SoapClient |
| 122 | 122 | { |
| 123 | - if (! $this->client) { |
|
| 123 | + if (!$this->client) { |
|
| 124 | 124 | $this->client = new \SoapClient(self::WSDL_URL, $this->options); |
| 125 | 125 | } |
| 126 | 126 | |
@@ -9,7 +9,7 @@ |
||
| 9 | 9 | * file that was distributed with this source code. |
| 10 | 10 | */ |
| 11 | 11 | |
| 12 | -declare(strict_types=1); |
|
| 12 | +declare(strict_types = 1); |
|
| 13 | 13 | |
| 14 | 14 | namespace Appwilio\RussianPostSDK\Tracking\Packet; |
| 15 | 15 | |
@@ -9,7 +9,7 @@ |
||
| 9 | 9 | * file that was distributed with this source code. |
| 10 | 10 | */ |
| 11 | 11 | |
| 12 | -declare(strict_types=1); |
|
| 12 | +declare(strict_types = 1); |
|
| 13 | 13 | |
| 14 | 14 | namespace Appwilio\RussianPostSDK\Tracking\Packet; |
| 15 | 15 | |
@@ -9,7 +9,7 @@ |
||
| 9 | 9 | * file that was distributed with this source code. |
| 10 | 10 | */ |
| 11 | 11 | |
| 12 | -declare(strict_types=1); |
|
| 12 | +declare(strict_types = 1); |
|
| 13 | 13 | |
| 14 | 14 | namespace Appwilio\RussianPostSDK\Tracking\Packet; |
| 15 | 15 | |
@@ -9,7 +9,7 @@ |
||
| 9 | 9 | * file that was distributed with this source code. |
| 10 | 10 | */ |
| 11 | 11 | |
| 12 | -declare(strict_types=1); |
|
| 12 | +declare(strict_types = 1); |
|
| 13 | 13 | |
| 14 | 14 | namespace Appwilio\RussianPostSDK\Tracking\Packet; |
| 15 | 15 | |
@@ -122,7 +122,7 @@ |
||
| 122 | 122 | |
| 123 | 123 | protected function getClient(): \SoapClient |
| 124 | 124 | { |
| 125 | - if (! $this->client) { |
|
| 125 | + if (!$this->client) { |
|
| 126 | 126 | $this->client = new \SoapClient(self::WSDL_URL, $this->options); |
| 127 | 127 | } |
| 128 | 128 | |