Completed
Push — master ( f908c3...668678 )
by Leo
02:11
created
src/Api.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@  discard block
 block discarded – undo
62 62
             return false;
63 63
         }
64 64
 
65
-        $class = '\leocata\M1\Methods\Callback\\'.ucfirst($data->method);
65
+        $class = '\leocata\M1\Methods\Callback\\' . ucfirst($data->method);
66 66
 
67 67
         if (!class_exists($class)) {
68 68
             throw new MethodNotFound(sprintf(
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
         /** @var \leocata\M1\Abstracts\CallbackMethods $method */
75 75
         $method = new $class();
76 76
         $method->import($data->params ?? new \stdClass());
77
-        self::$callbacks += ['after'.$method->getMethodName() => $method];
77
+        self::$callbacks += ['after' . $method->getMethodName() => $method];
78 78
 
79 79
         return $method;
80 80
     }
Please login to merge, or discard this patch.
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.