Merge branch '3.4'

* 3.4:
  [DI] Fix missing CHANGELOG update + typo
This commit is contained in:
Nicolas Grekas 2017-10-02 16:55:52 +02:00
commit f2594d246b
2 changed files with 3 additions and 1 deletions

View File

@ -36,6 +36,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);