Skip to content

Commit

Permalink
Pint
Browse files Browse the repository at this point in the history
  • Loading branch information
StanBarrows committed Sep 12, 2024
1 parent 2fe3e36 commit 8bf8793
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
6 changes: 3 additions & 3 deletions src/Client/PostfinanceClientFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,15 +46,15 @@ public static function factory(array $config): PostfinanceClient
new HeaderDefaultsPlugin([
'User-Agent' => 'Laravel PostFinance B2B',
]),
new RemoveEmptyNodesMiddleware(),
new RemoveEmptyNodesMiddleware,
new WsseMiddleware(
outgoing: [
(new Entry\Username($config['username']))
->withPassword($config['password'])
->withDigest(false),
]
),
new WsaMiddleware2005(),
new WsaMiddleware2005,
...($config['debug'] ? [
new LoggerPlugin(
(new Logger('http'))->pushHandler(
Expand All @@ -68,7 +68,7 @@ public static function factory(array $config): PostfinanceClient
)
);

$eventDispatcher = new EventDispatcher();
$eventDispatcher = new EventDispatcher;
$caller = new EventDispatchingCaller(new EngineCaller($engine), $eventDispatcher);

return new PostfinanceClient($caller);
Expand Down
4 changes: 1 addition & 3 deletions src/PostfinanceB2B.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,4 @@

namespace CodebarAg\PostfinanceB2B;

class PostfinanceB2B
{
}
class PostfinanceB2B {}

0 comments on commit 8bf8793

Please sign in to comment.