Skip to content

Commit 4f9755c

Browse files
Apply fixes from StyleCI (#193)
Co-authored-by: StyleCI Bot <[email protected]>
1 parent 4b1426c commit 4f9755c

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/SoapClient.php

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
use CodeDredd\Soap\Driver\ExtSoap\ExtSoapEngineFactory;
88
use CodeDredd\Soap\Exceptions\NotFoundConfigurationException;
99
use CodeDredd\Soap\Exceptions\SoapException;
10-
use CodeDredd\Soap\Middleware\BasicAuthMiddleware;
1110
use CodeDredd\Soap\Middleware\CisDhlMiddleware;
1211
use CodeDredd\Soap\Middleware\WsseMiddleware;
1312
use GuzzleHttp\Client;
@@ -199,9 +198,9 @@ public function withBasicAuth($username, ?string $password = null)
199198
}
200199

201200
$this->withHeaders([
202-
'Authorization' => sprintf('Basic %s', base64_encode(
203-
sprintf('%s:%s', $username, $password)
204-
))
201+
'Authorization' => sprintf('Basic %s', base64_encode(
202+
sprintf('%s:%s', $username, $password)
203+
)),
205204
]);
206205

207206
return $this;

0 commit comments

Comments
 (0)