Skip to content

Commit

Permalink
fix: $name is not nullable
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris8934 committed Sep 26, 2024
1 parent 99391f7 commit abe740b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions DependencyInjection/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -124,12 +124,12 @@ private function createBusinessAccountNode(bool $service): ArrayNodeDefinition
return $node;
}

private function createNode(string $name = null, string $type = 'array'): ArrayNodeDefinition|NodeDefinition
private function createNode(string $name, string $type = 'array'): ArrayNodeDefinition|NodeDefinition
{
return $this->createTreeBuilder($name, $type)->getRootNode();
}

private function createTreeBuilder(string $name = null, string $type = 'array'): TreeBuilder
private function createTreeBuilder(string $name, string $type = 'array'): TreeBuilder
{
return new TreeBuilder($name, $type);
}
Expand Down

0 comments on commit abe740b

Please sign in to comment.