Skip to content

Commit 9f1c406

Browse files
author
wietse
committed
feat: define param out type for passed by reference
refs: phpstan#417
1 parent 632853f commit 9f1c406

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

stubs/Symfony/Component/Form/DataMapperInterface.stub

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ interface DataMapperInterface
1616
/**
1717
* @param \Traversable<mixed, FormInterface<mixed>> $forms
1818
* @param TViewData $viewData
19+
* @param-out TViewData $viewData
1920
*/
2021
public function mapFormsToData(\Traversable $forms, mixed &$viewData): void;
2122
}

0 commit comments

Comments
 (0)