Skip to content

Commit

Permalink
fix: PipelineFactory using named constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
mkorkmaz committed Jul 12, 2021
1 parent c466b81 commit 8ef50ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Pipeline/PipelineFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ class PipelineFactory
{
public function __invoke(ContainerInterface $container): Pipeline
{
return new Pipeline($container);
return Pipeline::withContainer($container);
}
}

0 comments on commit 8ef50ae

Please sign in to comment.