Skip to content
This repository was archived by the owner on Feb 28, 2025. It is now read-only.

Commit bae09dd

Browse files
committed
Fix accepted stage type in FluentFactoryTrait
1 parent aa4f34c commit bae09dd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

generator/src/FluentStageFactoryGenerator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ private function createFluentFactoryTrait(GeneratorDefinition $definition): PhpN
4848

4949
$trait->addProperty('pipeline')
5050
->setType('array')
51-
->setComment('@var list<StageInterface>')
51+
->setComment('@var list<StageInterface|array<string,mixed>|stdClass>')
5252
->setValue([]);
5353
$trait->addMethod('getPipeline')
5454
->setReturnType(Pipeline::class)

src/Builder/Stage/FluentFactoryTrait.php

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)