Passed
Push — master ( d9a8b2...10111f )
by Andrey
14:08 queued 09:51
created
src/NovaPoshta.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
      */
33 33
     public function getApi(): string
34 34
     {
35
-        if (! $this->api) {
35
+        if (!$this->api) {
36 36
             $this->api = config('novaposhta.api_key');
37 37
         }
38 38
 
@@ -92,7 +92,7 @@  discard block
 block discarded – undo
92 92
             $answer = $answer[0];
93 93
         }
94 94
 
95
-        if (! isset($answer['success']) || ! isset($answer['data']) || empty($answer['data'])) {
95
+        if (!isset($answer['success']) || !isset($answer['data']) || empty($answer['data'])) {
96 96
             // что-то не так в ответе
97 97
             $info = trans('novaposhta::novaposhta.error_answer');
98 98
             $success = false;
@@ -118,7 +118,7 @@  discard block
 block discarded – undo
118 118
             }
119 119
         }
120 120
 
121
-        if (! $info && isset($answer['info'])) {
121
+        if (!$info && isset($answer['info'])) {
122 122
             $info = $answer['info'];
123 123
         }
124 124
 
Please login to merge, or discard this patch.