@@ -37,7 +37,7 @@ |
||
| 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 | } |
@@ -42,7 +42,7 @@ |
||
| 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( |