@@ -84,6 +84,7 @@ |
||
| 84 | 84 | |
| 85 | 85 | /** |
| 86 | 86 | * @param Collaborator[] ...$collaborators |
| 87 | + * @param FixtureInterface $collaborators |
|
| 87 | 88 | * |
| 88 | 89 | * @return \Generator |
| 89 | 90 | */ |
@@ -87,7 +87,8 @@ |
||
| 87 | 87 | * |
| 88 | 88 | * @return \Generator |
| 89 | 89 | */ |
| 90 | - private function createGenerator(Collaborator ...$collaborators) { |
|
| 90 | + private function createGenerator(Collaborator ...$collaborators) |
|
| 91 | + { |
|
| 91 | 92 | foreach ($collaborators as $collaborator) { |
| 92 | 93 | yield $collaborator->getWrappedObject() => []; |
| 93 | 94 | } |
@@ -222,7 +222,8 @@ |
||
| 222 | 222 | * |
| 223 | 223 | * @return \Generator |
| 224 | 224 | */ |
| 225 | - private function createGenerator(Collaborator ...$collaborators) { |
|
| 225 | + private function createGenerator(Collaborator ...$collaborators) |
|
| 226 | + { |
|
| 226 | 227 | foreach ($collaborators as $collaborator) { |
| 227 | 228 | yield $collaborator->getWrappedObject() => []; |
| 228 | 229 | } |