Passed
Pull Request — master (#2)
by
unknown
02:15
created
src/LaravelServiceProvider.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
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;
15 15
 
@@ -24,13 +24,13 @@  discard block
 block discarded – undo
24 24
 
25 25
     public function register()
26 26
     {
27
-        $this->app->singleton(SingleAccessClient::class, function (Application $app) {
27
+        $this->app->singleton(SingleAccessClient::class, function(Application $app) {
28 28
             $config = $app['config']['services.russianpost.tracking'];
29 29
 
30 30
             return new SingleAccessClient($config['login'], $config['password']);
31 31
         });
32 32
 
33
-        $this->app->singleton(PacketAccessClient::class, function (Application $app) {
33
+        $this->app->singleton(PacketAccessClient::class, function(Application $app) {
34 34
             $config = $app['config']['services.russianpost.tracking'];
35 35
 
36 36
             return new PacketAccessClient($config['login'], $config['password']);
Please login to merge, or discard this patch.
src/Tracking/Single/AuthorizationHeader.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
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\Single;
15 15
 
Please login to merge, or discard this patch.
src/Tracking/Exceptions/PacketAccessException.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
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\Exceptions;
15 15
 
Please login to merge, or discard this patch.
src/Tracking/Packet/Operation.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/Tracking/PacketAccessClient.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -41,10 +41,10 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/Tracking/Packet/ErrorAware.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
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
 
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
 
42 42
     public function getError(): ?Error
43 43
     {
44
-        if (! $this->hasError()) {
44
+        if (!$this->hasError()) {
45 45
             return null;
46 46
         }
47 47
 
Please login to merge, or discard this patch.
src/Tracking/Packet/TrackingResponse.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/Tracking/Packet/Event.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/Tracking/Packet/TicketResponse.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.