Skip to content

Commit

Permalink
Füge Return Type hinzu
Browse files Browse the repository at this point in the history
  • Loading branch information
relthyg committed Jul 16, 2024
1 parent 87e09b9 commit a61d87b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class OnRequestDependencyInjectorTest extends KernelTestCase
*/
private $entityManager;

public static function getKernelClass()
public static function getKernelClass(): string
{
return TestKernel::class;
}
Expand Down
2 changes: 1 addition & 1 deletion tests/Filter/VisibilityColumnConsideringSQLFilterTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class VisibilityColumnConsideringSQLFilterTest extends KernelTestCase
*/
private $entityManager;

protected static function getKernelClass()
protected static function getKernelClass(): string
{
return TestKernel::class;
}
Expand Down
2 changes: 1 addition & 1 deletion tests/Filter/VisibilityColumnRetrieverTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class VisibilityColumnRetrieverTest extends KernelTestCase
*/
private $classMetadataFactory;

protected static function getKernelClass()
protected static function getKernelClass(): string
{
return TestKernel::class;
}
Expand Down
2 changes: 1 addition & 1 deletion tests/Fixtures/Kernel/TestKernel.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

class TestKernel extends Kernel
{
public function registerBundles()
public function registerBundles(): iterable
{
return [new FrameworkBundle(), new DoctrineBundle(), new VisibilityFilterBundle()];
}
Expand Down

0 comments on commit a61d87b

Please sign in to comment.