Skip to content

Commit

Permalink
Fixed dump config (#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
root-aza authored Dec 3, 2024
1 parent d653268 commit e526173
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/DependencyInjection/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@
use Symfony\Component\Config\Definition\Builder\ArrayNodeDefinition;
use Symfony\Component\Config\Definition\Builder\TreeBuilder;
use Symfony\Component\Config\Definition\ConfigurationInterface as BundleConfiguration;

use function Symfony\Component\DependencyInjection\Loader\Configurator\env;

use Symfony\Component\DependencyInjection\Loader\Configurator\EnvConfigurator;
use Temporal\Api\Enums\V1\QueryRejectCondition;
use Temporal\Internal\Support\DateInterval;
Expand Down Expand Up @@ -402,7 +399,7 @@ private function addClient(ArrayNodeDefinition $node, Closure $dateIntervalValid
->isRequired()->cannotBeEmpty()
->end()
->scalarNode('address')
->defaultValue(env('TEMPORAL_ADDRESS')->__toString())->cannotBeEmpty()
->defaultValue((new EnvConfigurator('TEMPORAL_ADDRESS')))->cannotBeEmpty()
->end()
->scalarNode('identity')
->end()
Expand Down

0 comments on commit e526173

Please # to comment.