Skip to content

Commit df912ce

Browse files
committed
minor symfony#58096 [DependencyInjection] Fix error message typo in YamlFileLoader (edsrzf)
This PR was merged into the 5.4 branch. Discussion ---------- [DependencyInjection] Fix error message typo in `YamlFileLoader` | Q | A | ------------- | --- | Branch? | 5.4 | Bug fix? | yes | New feature? | no | Deprecations? | no | Issues | | License | MIT This fixes a small typo in an error message inside `YamlFileLoader`. Commits ------- 26dcae8 [DependencyInjection] Fix error message typo in YamlFileLoader
2 parents a2ad15c + 26dcae8 commit df912ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/DependencyInjection/Loader/YamlFileLoader.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -547,7 +547,7 @@ private function parseDefinition(string $id, $service, string $file, array $defa
547547
}
548548

549549
if (\is_string($k)) {
550-
throw new InvalidArgumentException(sprintf('Invalid method call for service "%s", did you forgot a leading dash before "%s: ..." in "%s"?', $id, $k, $file));
550+
throw new InvalidArgumentException(sprintf('Invalid method call for service "%s", did you forget a leading dash before "%s: ..." in "%s"?', $id, $k, $file));
551551
}
552552

553553
if (isset($call['method']) && \is_string($call['method'])) {

0 commit comments

Comments
 (0)