From c4b6e2014c23258ba8b2ed1fdcf7b3ea5f77e361 Mon Sep 17 00:00:00 2001 From: Christian Flothmann Date: Sun, 21 May 2017 10:11:14 +0200 Subject: [PATCH] [DI] prepare for signature change in 4.0 --- .../DependencyInjection/LazyProxy/PhpDumper/NullDumper.php | 4 +++- .../DependencyInjection/Tests/Fixtures/includes/classes.php | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/Symfony/Component/DependencyInjection/LazyProxy/PhpDumper/NullDumper.php b/src/Symfony/Component/DependencyInjection/LazyProxy/PhpDumper/NullDumper.php index 30911d3a5e..808ed8ec9c 100644 --- a/src/Symfony/Component/DependencyInjection/LazyProxy/PhpDumper/NullDumper.php +++ b/src/Symfony/Component/DependencyInjection/LazyProxy/PhpDumper/NullDumper.php @@ -17,6 +17,8 @@ use Symfony\Component\DependencyInjection\Definition; * Null dumper, negates any proxy code generation for any given service definition. * * @author Marco Pivetta + * + * @final since version 3.4 */ class NullDumper implements DumperInterface { @@ -31,7 +33,7 @@ class NullDumper implements DumperInterface /** * {@inheritdoc} */ - public function getProxyFactoryCode(Definition $definition, $id) + public function getProxyFactoryCode(Definition $definition, $id, $methodName = null) { return ''; } diff --git a/src/Symfony/Component/DependencyInjection/Tests/Fixtures/includes/classes.php b/src/Symfony/Component/DependencyInjection/Tests/Fixtures/includes/classes.php index 68fd01cf84..717dcdc52e 100644 --- a/src/Symfony/Component/DependencyInjection/Tests/Fixtures/includes/classes.php +++ b/src/Symfony/Component/DependencyInjection/Tests/Fixtures/includes/classes.php @@ -88,7 +88,7 @@ class DummyProxyDumper implements ProxyDumper return false; } - public function getProxyFactoryCode(Definition $definition, $id) + public function getProxyFactoryCode(Definition $definition, $id, $methodName = null) { return ''; }