Skip to content

Commit 5024918

Browse files
authored
Merge pull request #26 from driftphp/fix/resolved-adapter-type-when-env
Resolved adapter type when env
2 parents d9ca648 + 55d4b73 commit 5024918

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

DependencyInjection/CompilerPass/BusCompilerPass.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ public function createAsyncMiddleware(ContainerBuilder $container): bool
9393
}
9494

9595
$adapterType = $asyncAdapters['adapter'] ?? array_key_first($asyncAdapters);
96+
$adapterType = $container->resolveEnvPlaceholders($adapterType, true);
9697
$adapter = $asyncAdapters[$adapterType];
9798

9899
switch ($adapterType) {

0 commit comments

Comments
 (0)