Passed
Branch master (550813)
by Leo
03:46
created
src/Authorization.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
     public function getBasicAuth(): array
38 38
     {
39 39
         return [
40
-            'Authorization' => 'Basic '.base64_encode($this->username.':'.$this->password),
40
+            'Authorization' => 'Basic ' . base64_encode($this->username . ':' . $this->password),
41 41
         ];
42 42
     }
43 43
 }
Please login to merge, or discard this patch.
src/Api.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
             return false;
43 43
         }
44 44
 
45
-        $class = '\leocata\M1\Methods\Callback\\'.ucfirst($data->method);
45
+        $class = '\leocata\M1\Methods\Callback\\' . ucfirst($data->method);
46 46
 
47 47
         if (!class_exists($class)) {
48 48
             throw new MethodNotFound(sprintf(
Please login to merge, or discard this patch.