Skip to content

Commit

Permalink
MessengerAutoScaleBundle fix
Browse files Browse the repository at this point in the history
  • Loading branch information
vladdnepr authored Jan 30, 2025
1 parent e6164d8 commit a4a47e3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/MessengerAutoScaleBundle.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

use Symfony\Component\Config\Definition\Builder\BooleanNodeDefinition;
use Symfony\Component\Config\Definition\Builder\ScalarNodeDefinition;
use Symfony\Component\Config\Definition\Builder\TreeBuilder;
use Symfony\Component\Config\Definition\ConfigurationInterface;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\DependencyInjection\Extension\Extension;
Expand Down Expand Up @@ -49,7 +50,7 @@ public function load(array $configs, ContainerBuilder $container): void {

public function getConfiguration(array $config, ContainerBuilder $container) {
return new class() implements ConfigurationInterface {
public function getConfigTreeBuilder() {
public function getConfigTreeBuilder(): TreeBuilder {
return configTree('messenger_auto_scale', struct([
'console_path' => string(['configure' => function(ScalarNodeDefinition $def) {
$def->defaultValue('%kernel.project_dir%/bin/console');
Expand Down

0 comments on commit a4a47e3

Please sign in to comment.