Skip to content

Commit

Permalink
Fix the Configuration class where an upgrade step was forgotten (#9)
Browse files Browse the repository at this point in the history
Fix the Configuration class where an upgrade step was forgotten
  • Loading branch information
skoop authored May 28, 2024
1 parent e3f4e53 commit 87c24d8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions src/CouchbaseAccessLayerBundle.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,14 @@

namespace BowlOfSoup\CouchbaseAccessLayerBundle;

use BowlOfSoup\CouchbaseAccessLayerBundle\DependencyInjection\CouchbaseAccessLayerExtension;
use Symfony\Component\DependencyInjection\Extension\ExtensionInterface;
use Symfony\Component\HttpKernel\Bundle\AbstractBundle;

class CouchbaseAccessLayerBundle extends AbstractBundle
{
public function getContainerExtension(): ?ExtensionInterface
{
return new CouchbaseAccessLayerExtension();
}
}
4 changes: 2 additions & 2 deletions src/DependencyInjection/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ class Configuration implements ConfigurationInterface
{
public function getConfigTreeBuilder(): TreeBuilder
{
$treeBuilder = new TreeBuilder();
$rootNode = $treeBuilder->root('couchbase_access_layer');
$treeBuilder = new TreeBuilder('couchbase_access_layer');
$rootNode = $treeBuilder->getRootNode();
$rootNode
->children()
->scalarNode('host')->isRequired()->end()
Expand Down

0 comments on commit 87c24d8

Please sign in to comment.