diff --git a/tests/Controller/CRUDControllerTest.php b/tests/Controller/CRUDControllerTest.php index 6d1296a51a..34ef262a31 100644 --- a/tests/Controller/CRUDControllerTest.php +++ b/tests/Controller/CRUDControllerTest.php @@ -13,7 +13,6 @@ namespace Sonata\AdminBundle\Tests\Controller; -use PHPUnit\Framework\MockObject\MockObject; use PHPUnit\Framework\TestCase; use Psr\Log\LoggerInterface; use Sonata\AdminBundle\Admin\AbstractAdmin; @@ -149,9 +148,6 @@ class CRUDControllerTest extends TestCase */ private $translator; - /** - * @var LoggerInterface&MockObject - */ private $logger; /** diff --git a/tests/DependencyInjection/Compiler/AddDependencyCallsCompilerPassTest.php b/tests/DependencyInjection/Compiler/AddDependencyCallsCompilerPassTest.php index 238419fc6a..07e91f5927 100644 --- a/tests/DependencyInjection/Compiler/AddDependencyCallsCompilerPassTest.php +++ b/tests/DependencyInjection/Compiler/AddDependencyCallsCompilerPassTest.php @@ -46,10 +46,10 @@ */ class AddDependencyCallsCompilerPassTest extends TestCase { - /** @var SonataAdminExtension $extension */ + /** @var SonataAdminExtension */ private $extension; - /** @var array $config */ + /** @var array */ private $config; public function setUp(): void diff --git a/tests/DependencyInjection/Compiler/ExtensionCompilerPassTest.php b/tests/DependencyInjection/Compiler/ExtensionCompilerPassTest.php index 0fe9ea32fc..8b6c32994f 100644 --- a/tests/DependencyInjection/Compiler/ExtensionCompilerPassTest.php +++ b/tests/DependencyInjection/Compiler/ExtensionCompilerPassTest.php @@ -41,10 +41,10 @@ class ExtensionCompilerPassTest extends TestCase { - /** @var SonataAdminExtension $extension */ + /** @var SonataAdminExtension */ private $extension; - /** @var array $config */ + /** @var array */ private $config; /**