Skip to content

Commit

Permalink
Correct imported Psalm types for ServiceManager
Browse files Browse the repository at this point in the history
Signed-off-by: George Steel <george@net-glue.co.uk>
  • Loading branch information
gsteel committed Mar 4, 2024
1 parent 97d8609 commit f94129f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions test/ServiceManagerIntegrationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

namespace MezzioTest\Router;

use Laminas\ServiceManager\ConfigInterface;
use Laminas\ServiceManager\ServiceManager;
use Mezzio\Router;
use PHPUnit\Framework\Attributes\DataProvider;
Expand All @@ -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;
Expand All @@ -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(),
[
Expand Down

0 comments on commit f94129f

Please sign in to comment.