@@ -98,8 +98,8 @@ |
||
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 | /** |
@@ -107,7 +107,7 @@ |
||
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(); |