diff --git a/src/Prophecy/Doubler/ClassPatch/ProphecySubjectPatch.php b/src/Prophecy/Doubler/ClassPatch/ProphecySubjectPatch.php index b41ebaa28..0330ebc85 100644 --- a/src/Prophecy/Doubler/ClassPatch/ProphecySubjectPatch.php +++ b/src/Prophecy/Doubler/ClassPatch/ProphecySubjectPatch.php @@ -92,7 +92,7 @@ public function apply(ClassNode $node) $__call->setCode(<<getProphecy(), func_get_arg(0) + get_class(\$this), func_get_arg(0) ); PHP );