Skip to content

Commit

Permalink
Fix orm interface exists. (#45)
Browse files Browse the repository at this point in the history
Co-authored-by: Andrii Tomchyshyn <[email protected]>
  • Loading branch information
metalslave and Andrii Tomchyshyn authored Sep 6, 2023
1 parent c097c6f commit 4a31b7e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions DependencyInjection/StfalconApiExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

namespace StfalconStudio\ApiBundle\DependencyInjection;

use Doctrine\ORM\EntityManager;
use Doctrine\ORM\EntityManagerInterface;
use StfalconStudio\ApiBundle\Security\JwtBlackListService;
use StfalconStudio\ApiBundle\Service\Exception\ResponseProcessor\CustomAppExceptionResponseProcessorInterface;
use Symfony\Component\Config\FileLocator;
Expand Down Expand Up @@ -46,7 +46,7 @@ public function load(array $configs, ContainerBuilder $container): void
$jwtBlackListServiceDefinition->addMethodCall('setRedisClientJwtBlackList', $redisClient);
}

if (\interface_exists(EntityManager::class)) {
if (\interface_exists(EntityManagerInterface::class)) {
$loader->load('orm.php');
}

Expand Down

0 comments on commit 4a31b7e

Please sign in to comment.