Completed
Pull Request — master (#65)
by Timothée
01:57
created
src/RestApiContext.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -98,8 +98,8 @@
 block discarded – undo
98 98
      */
99 99
     public function iSetBasicAuthenticationWithAnd($username, $password)
100 100
     {
101
-        $authorization = base64_encode($username . ':' . $password);
102
-        $this->setRequestHeader('Authorization', 'Basic ' . $authorization);
101
+        $authorization = base64_encode($username.':'.$password);
102
+        $this->setRequestHeader('Authorization', 'Basic '.$authorization);
103 103
     }
104 104
 
105 105
     /**
Please login to merge, or discard this patch.
src/Rest/RestApiBrowser.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -107,7 +107,7 @@
 block discarded – undo
107 107
             new ExecutionTimeLimited(new SleepWaiter(), $maxExecutionTime)
108 108
         );
109 109
         $restApiBrowser = $this;
110
-        $runner->run(new Callback(function () use ($restApiBrowser, $method, $uri, $body, $assertion, $headers) {
110
+        $runner->run(new Callback(function() use ($restApiBrowser, $method, $uri, $body, $assertion, $headers) {
111 111
             $restApiBrowser->sendRequest($method, $uri, $body, $headers);
112 112
 
113 113
             return $assertion();
Please login to merge, or discard this patch.