$__call->addArgument(new ArgumentNode('name'));
$__call->addArgument(new ArgumentNode('arguments'));
- $node->addMethod($__call);
+ $node->addMethod($__call, true);
}
$__call->setCode(<<<PHP
PHP
);
- $node->addMethod($prophecySetter);
- $node->addMethod($prophecyGetter);
+ $node->addMethod($prophecySetter, true);
+ $node->addMethod($prophecyGetter, true);
}
/**