Skip to content

Commit c2ac4da

Browse files
committed
fix: use correct ContainerInterface import
Signed-off-by: Matthew Weier O'Phinney <[email protected]>
1 parent ddceef2 commit c2ac4da

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/ControllerFactory.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22

33
namespace Laminas\ApiTools\Documentation;
44

5-
use interop\container\containerinterface;
65
use Laminas\ServiceManager\AbstractPluginManager;
76
use Laminas\ServiceManager\FactoryInterface;
87
use Laminas\ServiceManager\ServiceLocatorInterface;
8+
use Psr\Container\ContainerInterface;
99

1010
class ControllerFactory implements FactoryInterface
1111
{
@@ -14,7 +14,7 @@ class ControllerFactory implements FactoryInterface
1414
* @param null|array $options
1515
* @return Controller
1616
*/
17-
public function __invoke(containerinterface $container, $requestedName, ?array $options = null)
17+
public function __invoke(ContainerInterface $container, $requestedName, ?array $options = null)
1818
{
1919
$viewHelpers = $container->get('ViewHelperManager');
2020

src/Factory/ApiFactoryFactory.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@
22

33
namespace Laminas\ApiTools\Documentation\Factory;
44

5-
use interop\container\containerinterface;
65
use Laminas\ApiTools\Configuration\ModuleUtils;
76
use Laminas\ApiTools\Documentation\ApiFactory;
7+
use Psr\Container\ContainerInterface;
88

99
class ApiFactoryFactory
1010
{
1111
/**
1212
* @return ApiFactory
1313
*/
14-
public function __invoke(containerinterface $container)
14+
public function __invoke(ContainerInterface $container)
1515
{
1616
return new ApiFactory(
1717
$container->get('ModuleManager'),

0 commit comments

Comments
 (0)