From f94129f7ecce74aede7d01664c9d75f08b120878 Mon Sep 17 00:00:00 2001 From: George Steel Date: Mon, 4 Mar 2024 10:21:15 +0000 Subject: [PATCH] Correct imported Psalm types for ServiceManager Signed-off-by: George Steel --- test/ServiceManagerIntegrationTest.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/test/ServiceManagerIntegrationTest.php b/test/ServiceManagerIntegrationTest.php index 2d99b7b..56e7a38 100644 --- a/test/ServiceManagerIntegrationTest.php +++ b/test/ServiceManagerIntegrationTest.php @@ -4,7 +4,6 @@ namespace MezzioTest\Router; -use Laminas\ServiceManager\ConfigInterface; use Laminas\ServiceManager\ServiceManager; use Mezzio\Router; use PHPUnit\Framework\Attributes\DataProvider; @@ -15,7 +14,7 @@ use function array_merge_recursive; -/** @psalm-import-type ServiceManagerConfigurationType from ConfigInterface */ +/** @psalm-import-type ServiceManagerConfiguration from ServiceManager */ final class ServiceManagerIntegrationTest extends TestCase { private ContainerInterface $container; @@ -24,7 +23,7 @@ protected function setUp(): void { parent::setUp(); - /** @psalm-var ServiceManagerConfigurationType $config */ + /** @psalm-var ServiceManagerConfiguration $config */ $config = array_merge_recursive( (new Router\ConfigProvider())->getDependencies(), [