@@ -139,7 +139,7 @@ |
||
139 | 139 | protected function getBrokerSessionId() |
140 | 140 | { |
141 | 141 | $headers = getallheaders(); |
142 | - if (isset($headers['Authorization']) && strpos($headers['Authorization'], 'Bearer') === 0) { |
|
142 | + if (isset($headers['Authorization']) && strpos($headers['Authorization'], 'Bearer') === 0) { |
|
143 | 143 | $headers['Authorization'] = substr($headers['Authorization'], 7); |
144 | 144 | |
145 | 145 | return $headers['Authorization']; |
@@ -90,7 +90,7 @@ |
||
90 | 90 | $commandUrl = $this->generateCommandUrl($command); |
91 | 91 | $headers = [ |
92 | 92 | 'Accept' => 'application/json', |
93 | - 'Authorization' => 'Bearer '. $this->getSessionId(), |
|
93 | + 'Authorization' => 'Bearer ' . $this->getSessionId(), |
|
94 | 94 | ]; |
95 | 95 | switch ($method) { |
96 | 96 | case 'POST': |