Skip to content

Commit 97a5053

Browse files
xabbuhnicolas-grekas
authored andcommitted
[DI] prepare for signature change in 4.0
1 parent fa2e028 commit 97a5053

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

LazyProxy/PhpDumper/NullDumper.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@
1717
* Null dumper, negates any proxy code generation for any given service definition.
1818
*
1919
* @author Marco Pivetta <[email protected]>
20+
*
21+
* @final since version 3.4
2022
*/
2123
class NullDumper implements DumperInterface
2224
{
@@ -31,7 +33,7 @@ public function isProxyCandidate(Definition $definition)
3133
/**
3234
* {@inheritdoc}
3335
*/
34-
public function getProxyFactoryCode(Definition $definition, $id)
36+
public function getProxyFactoryCode(Definition $definition, $id, $methodName = null)
3537
{
3638
return '';
3739
}

Tests/Fixtures/includes/classes.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ public function isProxyCandidate(Definition $definition)
8888
return false;
8989
}
9090

91-
public function getProxyFactoryCode(Definition $definition, $id)
91+
public function getProxyFactoryCode(Definition $definition, $id, $methodName = null)
9292
{
9393
return '';
9494
}

0 commit comments

Comments
 (0)