Skip to content

Commit

Permalink
[FormBundle] Forward compatibility fix for symfony 7.2 in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
acrobat committed Nov 8, 2024
1 parent daadd66 commit e839c41
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class FormPage extends AbstractFormPage
{
public function getPossibleChildTypes(): array
{
return null;
return [];
}

public function getPagePartAdminConfigurations(): array
Expand Down Expand Up @@ -83,7 +83,7 @@ public function testFormType()
}
}

protected function getExtensions()
protected function getExtensions(): array
{
$mediaTokenTransformer = $this->createMock(MediaTokenTransformer::class);
$mediaTokenTransformer->expects($this->once())
Expand Down

0 comments on commit e839c41

Please sign in to comment.