Passed
Push — master ( 002f6f...500c40 )
by Andrey
04:51
created
src/NovaPoshta.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@  discard block
 block discarded – undo
26 26
         $this->point = config('novaposhta.point');
27 27
         $this->dev = config('novaposhta.dev');
28 28
         $this->getApi();
29
-        $this->url = $this->baseUri . $this->point;
29
+        $this->url = $this->baseUri.$this->point;
30 30
     }
31 31
 
32 32
 
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
      */
64 64
     public function getResponse(string $model, string $calledMethod, array $methodProperties, bool $auth = true): array
65 65
     {
66
-        $url = $this->url . '/' . $model . '/' . $calledMethod;
66
+        $url = $this->url.'/'.$model.'/'.$calledMethod;
67 67
         $body = [];
68 68
         $info = '';
69 69
 
@@ -123,7 +123,7 @@  discard block
 block discarded – undo
123 123
                     $info = [];
124 124
                     foreach ($answer['errorCodes'] as $err) {
125 125
                         $info['StatusCode'] = $err;
126
-                        $info['StatusLocale'] = __('novaposhta::novaposhta.statusCode.' . $err);
126
+                        $info['StatusLocale'] = __('novaposhta::novaposhta.statusCode.'.$err);
127 127
                     }
128 128
                 }
129 129
             }
@@ -144,7 +144,7 @@  discard block
 block discarded – undo
144 144
              * Test and Dev.
145 145
              */
146 146
             Log::debug('= = = = = = = = = = = = = = = = = = = =');
147
-            Log::debug($model . ' / ' . $calledMethod . ' // apiKey: ' . $auth);
147
+            Log::debug($model.' / '.$calledMethod.' // apiKey: '.$auth);
148 148
             Log::debug('--------------------');
149 149
 
150 150
             try {
Please login to merge, or discard this patch.
src/Traits/InternetDocumentProperty.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -232,10 +232,10 @@
 block discarded – undo
232 232
      */
233 233
     public function setBackwardDeliveryData($RedeliveryString, ?string $PayerType = null, ?string $CargoType = null)
234 234
     {
235
-        if (! $PayerType) {
235
+        if (!$PayerType) {
236 236
             $PayerType = config('novaposhta.back_delivery_payer_type');
237 237
         }
238
-        if (! $CargoType) {
238
+        if (!$CargoType) {
239 239
             $CargoType = config('novaposhta.back_delivery_cargo_type');
240 240
         }
241 241
         $this->BackwardDeliveryData = [
Please login to merge, or discard this patch.
src/Traits/RecipientProperty.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
         }
34 34
 
35 35
         //указываем строками проверяем и вставляем
36
-        if (isset($Recipient['RecipientName']) &&     //имя получателя
36
+        if (isset($Recipient['RecipientName']) && //имя получателя
37 37
             isset($Recipient['RecipientCityName']) && //город
38 38
             isset($Recipient['RecipientAddressName']) //отделение или улица
39 39
         ) {
Please login to merge, or discard this patch.
src/Traits/CounterpartyProperty.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -125,7 +125,7 @@
 block discarded – undo
125 125
     public function makeOrganization()
126 126
     {
127 127
         //need clear data
128
-         $lastName = '';
128
+            $lastName = '';
129 129
         // $middleName = '';
130 130
         // $phone = '';
131 131
         // $email = '';
Please login to merge, or discard this patch.
src/Traits/OptionsSeatProperty.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
      */
41 41
     public function getOptionsSeat()
42 42
     {
43
-        if (! $this->OptionsSeat) {
43
+        if (!$this->OptionsSeat) {
44 44
             $defaultSeat = [
45 45
                 'volumetricVolume' => '1',
46 46
                 'volumetricWidth' => '24',
Please login to merge, or discard this patch.