Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
Naoray committed Sep 9, 2024
1 parent be99500 commit bd15bf4
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
8 changes: 4 additions & 4 deletions src/Http/Adapter/GuzzleMollieHttpAdapter.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,10 @@ public function factories(): Factories
$factory = new HttpFactory;

return new Factories(
requestFactory: $factory,
responseFactory: $factory,
streamFactory: $factory,
uriFactory: $factory,
$factory,
$factory,
$factory,
$factory,
);
}

Expand Down
8 changes: 4 additions & 4 deletions src/Http/Adapter/PSR18MollieHttpAdapter.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,10 @@ public function __construct(
public function factories(): Factories
{
return new Factories(
requestFactory: $this->requestFactory,
responseFactory: $this->responseFactory,
streamFactory: $this->streamFactory,
uriFactory: $this->uriFactory,
$this->requestFactory,
$this->responseFactory,
$this->streamFactory,
$this->uriFactory,
);
}

Expand Down
8 changes: 4 additions & 4 deletions src/Traits/HasDefaultFactories.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ public function factories(): Factories
$httpFactory = new Psr17Factory;

return static::$factories = new Factories(
requestFactory: $httpFactory,
responseFactory: $httpFactory,
streamFactory: $httpFactory,
uriFactory: $httpFactory,
$httpFactory,
$httpFactory,
$httpFactory,
$httpFactory,
);
}
}

0 comments on commit bd15bf4

Please sign in to comment.