From e08834a258f704053337794c05760c36872aeb32 Mon Sep 17 00:00:00 2001 From: Pablo Ogando Ferreira Date: Wed, 6 Nov 2024 15:55:35 +0100 Subject: [PATCH] fix: phpstan --- Tests/Controller/IngestControllerTest.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Tests/Controller/IngestControllerTest.php b/Tests/Controller/IngestControllerTest.php index 6e920a6..3e6e874 100644 --- a/Tests/Controller/IngestControllerTest.php +++ b/Tests/Controller/IngestControllerTest.php @@ -4,6 +4,7 @@ namespace Pumukit\ExternalAPIBundle\Tests\Controller; +use Doctrine\ODM\MongoDB\DocumentManager; use Doctrine\ODM\MongoDB\MongoDBException; use Pumukit\CoreBundle\Tests\PumukitTestCase; use Pumukit\EncoderBundle\Services\Repository\JobRepository; @@ -26,7 +27,7 @@ class IngestControllerTest extends PumukitTestCase public const ENDPOINT_CREATE_MEDIA_PACKAGE = '/api/ingest/createMediaPackage'; public const ENDPOINT_ADD_ATTACHMENT = '/api/ingest/addAttachment'; - protected $dm; + protected DocumentManager $dm; private $jobRepository; public function setUp(): void