Skip to content

Commit

Permalink
skip if container xml is not provided
Browse files Browse the repository at this point in the history
  • Loading branch information
seferov committed Nov 10, 2023
1 parent 93cf680 commit 9a9a90c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Handler/ContainerHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,10 @@ public static function afterClassLikeVisit(AfterClassLikeVisitEvent $event)

public static function afterCodebasePopulated(AfterCodebasePopulatedEvent $event): void
{
if (null === self::$containerMeta) {
return;
}

$containerClassNames = array_map(function (string $className): string {
return strtolower($className);
}, self::$containerMeta->getClassNames());
Expand Down

0 comments on commit 9a9a90c

Please sign in to comment.