Skip to content

Commit 87b80a2

Browse files
committed
Merge branch '2.3' into 2.7
* 2.3: [Process] Unset callback after stop to free memory Improve error message for undefined DIC aliases Fix typo CS: remove unneeded parentheses around control statements
2 parents d9cf9d1 + 21cfadd commit 87b80a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Compiler/ReplaceAliasByActualDefinitionPass.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public function process(ContainerBuilder $container)
4545
try {
4646
$definition = $container->getDefinition($aliasId);
4747
} catch (InvalidArgumentException $e) {
48-
throw new InvalidArgumentException(sprintf('Unable to replace alias "%s" with "%s".', $alias, $id), null, $e);
48+
throw new InvalidArgumentException(sprintf('Unable to replace alias "%s" with actual definition "%s".', $id, $alias), null, $e);
4949
}
5050

5151
if ($definition->isPublic()) {

0 commit comments

Comments
 (0)