fix deprecation message

This commit is contained in:
Christian Flothmann 2018-05-03 10:46:26 +02:00
parent 6cb90daa76
commit 667924c98a

View File

@ -129,7 +129,7 @@ class DefinitionBuilder
*/
public function reset()
{
@trigger_error(sprintf('The "%s" method is deprecated since Symfony 4.1, use the "clear()" method instead.', __METHOD__), E_USER_DEPRECATED);
@trigger_error(sprintf('The "%s()" method is deprecated since Symfony 4.1, use the "clear()" method instead.', __METHOD__), E_USER_DEPRECATED);
return $this->clear();
}