Skip to content

Commit

Permalink
Merge branch '5.4' into 6.4
Browse files Browse the repository at this point in the history
* 5.4:
  fix Twig 3.12 compatibility
  [Translation] Review Serbian translations
  Fix typos
  [DependencyInjection] Fix error message typo in YamlFileLoader
  • Loading branch information
xabbuh committed Aug 29, 2024
2 parents dbd4e87 + 8c946c5 commit e93c836
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Loader/YamlFileLoader.php
Original file line number Diff line number Diff line change
Expand Up @@ -557,7 +557,7 @@ private function parseDefinition(string $id, array|string|null $service, string
}

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

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

0 comments on commit e93c836

Please sign in to comment.