Skip to content

Commit 6b01ef4

Browse files
committed
phpstan dummydtoinputoutput
1 parent c07166a commit 6b01ef4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/Fixtures/TestBundle/State/DummyDtoInputOutputProcessor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public function process($data, Operation $operation, array $uriVariables = [], a
4646

4747
$entity->str = $data->foo;
4848
$entity->num = $data->bar;
49-
$entity->relatedDummies = new ArrayCollection($data->relatedDummies ?? []);
49+
$entity->relatedDummies = new ArrayCollection($data->relatedDummies);
5050

5151
$manager->persist($entity);
5252
$manager->flush();

0 commit comments

Comments
 (0)