Passed
Push — master ( a038d0...28179e )
by Martynas
03:44 queued 02:05
created
docs/examples/Server.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -139,7 +139,7 @@
 block discarded – undo
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'];
Please login to merge, or discard this patch.
docs/examples/Broker.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -90,7 +90,7 @@
 block discarded – undo
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':
Please login to merge, or discard this patch.