Skip to content

Commit

Permalink
Merge pull request #30 from Chris53897/patch-1
Browse files Browse the repository at this point in the history
chore: Add tests for PHP 8.4
  • Loading branch information
bresam authored Oct 4, 2024
2 parents 62949e9 + abe740b commit eab0385
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@ jobs:
- php: '8.3'
symfony-version: 7.0.*
stability: prefer-stable

- php: '8.4'
symfony-version: 7.0.*
stability: prefer-stable

env:
APP_ENV: test
Expand Down
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 eab0385

Please sign in to comment.