[DI] prepare for signature change in 4.0

This commit is contained in:
Christian Flothmann 2017-05-21 10:11:14 +02:00 committed by Nicolas Grekas
parent 879c9129b7
commit c4b6e2014c
2 changed files with 4 additions and 2 deletions

View File

@ -17,6 +17,8 @@ use Symfony\Component\DependencyInjection\Definition;
* Null dumper, negates any proxy code generation for any given service definition. * Null dumper, negates any proxy code generation for any given service definition.
* *
* @author Marco Pivetta <ocramius@gmail.com> * @author Marco Pivetta <ocramius@gmail.com>
*
* @final since version 3.4
*/ */
class NullDumper implements DumperInterface class NullDumper implements DumperInterface
{ {
@ -31,7 +33,7 @@ class NullDumper implements DumperInterface
/** /**
* {@inheritdoc} * {@inheritdoc}
*/ */
public function getProxyFactoryCode(Definition $definition, $id) public function getProxyFactoryCode(Definition $definition, $id, $methodName = null)
{ {
return ''; return '';
} }

View File

@ -88,7 +88,7 @@ class DummyProxyDumper implements ProxyDumper
return false; return false;
} }
public function getProxyFactoryCode(Definition $definition, $id) public function getProxyFactoryCode(Definition $definition, $id, $methodName = null)
{ {
return ''; return '';
} }