[DI] Fix missing CHANGELOG update + typo

This commit is contained in:
Maxime Steinhausser 2017-10-02 13:59:28 +02:00
parent f86b4c43a3
commit f9aeee5e63
2 changed files with 3 additions and 1 deletions

View File

@ -14,6 +14,8 @@ CHANGELOG
* deprecated case insensitivity of parameter names
* deprecated the `ResolveDefinitionTemplatesPass` class in favor of `ResolveChildDefinitionsPass`
* added `TaggedIteratorArgument` with YAML (`!tagged foo`) and XML (`<service type="tagged"/>`) support
* deprecated `AutowireExceptionPass` and `AutowirePass::getAutowiringExceptions()`, use `Definition::addError()` and the `DefinitionErrorExceptionPass` instead
3.3.0
-----

View File

@ -30,7 +30,7 @@ class DefinitionErrorExceptionPass extends AbstractRecursivePass
return parent::processValue($value, $isRoot);
}
// only show the first error so they user can focus on it
// only show the first error so the user can focus on it
$errors = $value->getErrors();
$message = reset($errors);