Skip to content

Commit

Permalink
Fix some phpstan issues
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-schranz committed Aug 8, 2024
1 parent 701423d commit 03f5fd9
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/Infrastructure/Symfony/HttpKernel/SuluArticleBundle.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ final class SuluArticleBundle extends AbstractBundle
*/
public function configure(DefinitionConfigurator $definition): void
{
$definition->rootNode()
$definition->rootNode() // @phpstan-ignore-line
->children()
->arrayNode('objects')
->addDefaultsIfNotSet()
Expand All @@ -86,11 +86,13 @@ public function configure(DefinitionConfigurator $definition): void
}

/**
* @param array<string, mixed> $config
*
* @internal this method is not part of the public API and should only be called by the Symfony framework classes
*/
public function loadExtension(array $config, ContainerConfigurator $container, ContainerBuilder $builder): void
{
$this->configurePersistence($config['objects'], $builder);
$this->configurePersistence($config['objects'], $builder); // @phpstan-ignore-line

$services = $container->services();

Expand Down

0 comments on commit 03f5fd9

Please sign in to comment.