Skip to content

Commit

Permalink
Replaced a lingering reference to Interop Container
Browse files Browse the repository at this point in the history
Signed-off-by: Eric Richer [email protected] <[email protected]>
  • Loading branch information
visto9259 committed Nov 26, 2024
1 parent ab54488 commit d0fe843
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Factory/CorsServiceFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@

namespace LmcCors\Factory;

use interop\container\containerinterface;
use Laminas\ServiceManager\Factory\FactoryInterface;
use LmcCors\Options\CorsOptions;
use LmcCors\Service\CorsService;
use Psr\Container\ContainerExceptionInterface;
use Psr\Container\ContainerInterface;
use Psr\Container\NotFoundExceptionInterface;

/**
Expand All @@ -38,7 +38,7 @@ class CorsServiceFactory implements FactoryInterface
* @throws ContainerExceptionInterface
* @throws NotFoundExceptionInterface
*/
public function __invoke(containerinterface $container, $requestedName, ?array $options = null): CorsService
public function __invoke(ContainerInterface $container, $requestedName, ?array $options = null): CorsService
{
/** @var CorsOptions $corsOptions */
$corsOptions = $container->get(CorsOptions::class);
Expand Down

0 comments on commit d0fe843

Please sign in to comment.