Skip to content

Commit

Permalink
fix deprecations
Browse files Browse the repository at this point in the history
  • Loading branch information
alexz707 committed Jan 15, 2025
1 parent f8c3ef2 commit 89c2dd0
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/DependencyInjection/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,11 @@ public function getConfigTreeBuilder(): TreeBuilder
return $treeBuilder;
}

private function buildVariableNode(string $name, array $defaultValue = [], ?string $documentation = null): NodeDefinition
{
private function buildVariableNode(
string $name,
array $defaultValue = [],
?string $documentation = null
): NodeDefinition {
$node = new VariableNodeDefinition($name);
if ($documentation) {
$node->info($documentation);
Expand Down

0 comments on commit 89c2dd0

Please sign in to comment.