diff --git a/src/Http/Adapter/GuzzleMollieHttpAdapter.php b/src/Http/Adapter/GuzzleMollieHttpAdapter.php index 6f9b2dc3..3c58bb6a 100644 --- a/src/Http/Adapter/GuzzleMollieHttpAdapter.php +++ b/src/Http/Adapter/GuzzleMollieHttpAdapter.php @@ -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, ); } diff --git a/src/Http/Adapter/PSR18MollieHttpAdapter.php b/src/Http/Adapter/PSR18MollieHttpAdapter.php index d5513ab3..377abf54 100644 --- a/src/Http/Adapter/PSR18MollieHttpAdapter.php +++ b/src/Http/Adapter/PSR18MollieHttpAdapter.php @@ -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, ); } diff --git a/src/Traits/HasDefaultFactories.php b/src/Traits/HasDefaultFactories.php index a1dd65fa..5dc03e21 100644 --- a/src/Traits/HasDefaultFactories.php +++ b/src/Traits/HasDefaultFactories.php @@ -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, ); } }