Skip to content

Commit af9e253

Browse files
committed
Fix merge
1 parent 3640585 commit af9e253

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Symfony/Component/DependencyInjection/Compiler/MergeExtensionConfigurationPass.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ public function __construct(ExtensionInterface $extension, ParameterBagInterface
144144
/**
145145
* {@inheritdoc}
146146
*/
147-
public function addCompilerPass(CompilerPassInterface $pass, $type = PassConfig::TYPE_BEFORE_OPTIMIZATION/*, int $priority = 0*/)
147+
public function addCompilerPass(CompilerPassInterface $pass, $type = PassConfig::TYPE_BEFORE_OPTIMIZATION, int $priority = 0)
148148
{
149149
throw new LogicException(sprintf('You cannot add compiler pass "%s" from extension "%s". Compiler passes must be registered before the container is compiled.', get_class($pass), $this->extensionClass));
150150
}
@@ -160,7 +160,7 @@ public function registerExtension(ExtensionInterface $extension)
160160
/**
161161
* {@inheritdoc}
162162
*/
163-
public function compile($resolveEnvPlaceholders = false)
163+
public function compile(bool $resolveEnvPlaceholders = false)
164164
{
165165
throw new LogicException(sprintf('Cannot compile the container in extension "%s".', $this->extensionClass));
166166
}

0 commit comments

Comments
 (0)