Skip to content

Commit 8c946c5

Browse files
author
Evan Shaw
committed
[DependencyInjection] Fix error message typo in YamlFileLoader
1 parent 6084b55 commit 8c946c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)