Skip to content

Commit e39e0c7

Browse files
committed
Add more precise types in reusable test cases
1 parent 8b1c7fa commit e39e0c7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Tests/Form/Type/EntityTypePerformanceTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class EntityTypePerformanceTest extends FormPerformanceTestCase
2929

3030
private EntityManager $em;
3131

32-
protected function getExtensions()
32+
protected function getExtensions(): array
3333
{
3434
$manager = $this->createMock(ManagerRegistry::class);
3535

Tests/Form/Type/EntityTypeTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ protected function setUp(): void
8686
}
8787
}
8888

89-
protected function getExtensions()
89+
protected function getExtensions(): array
9090
{
9191
return array_merge(parent::getExtensions(), [
9292
new DoctrineOrmExtension($this->emRegistry),

0 commit comments

Comments
 (0)