Skip to content

Commit

Permalink
[#2297] Make tests php 7.4 viable
Browse files Browse the repository at this point in the history
  • Loading branch information
Maximilian Zumbansen committed Jun 17, 2024
1 parent a89096e commit 1289629
Showing 1 changed file with 7 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,15 +46,13 @@ public function testDescribeHandlesArrayParameterAndRegistersCorrectSchema(): vo
$describer->setModelRegistry($registry);

$argumentData = new ArgumentMetadata(
name: 'someObjects',
type: Type::BUILTIN_TYPE_ARRAY,
isVariadic: false,
hasDefaultValue: false,
defaultValue: null,
attributes: [
/* @phpstan-ignore-next-line can be removed with Symfony 7.1 integration */
new MapRequestPayload(type: SomeObject::class),
]
'someObjects',
Type::BUILTIN_TYPE_ARRAY,
false,
false,
null,
false,
[new MapRequestPayload(SomeObject::class)]
);

$operation = $this->createMock(Operation::class);
Expand Down

0 comments on commit 1289629

Please sign in to comment.