Skip to content

Commit

Permalink
Extend AbstractBundle
Browse files Browse the repository at this point in the history
This is required when the bundle class is not at the root path of the
bundle, which is the case since doctrine#1767
  • Loading branch information
greg0ire committed Mar 15, 2024
1 parent fa3e8e3 commit dbe5b46
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/DoctrineBundle.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,15 @@
use Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface;
use Symfony\Component\DependencyInjection\Compiler\PassConfig;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\HttpKernel\Bundle\Bundle;
use Symfony\Component\HttpKernel\Bundle\AbstractBundle;

use function assert;
use function class_exists;
use function clearstatcache;
use function spl_autoload_unregister;

/** @final since 2.9 */
class DoctrineBundle extends Bundle
class DoctrineBundle extends AbstractBundle
{
private ?Closure $autoloader = null;

Expand Down

0 comments on commit dbe5b46

Please sign in to comment.