This repository has been archived on 2026-07-19. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
espocrm-base/vendor/phpunit/phpunit-mock-objects/Tests/_files/MethodCallback.php
T
Taras Machyshyn b0d1bb4486 vendor update
2013-11-19 12:52:41 +02:00

22 lines
370 B
PHP

<?php
class MethodCallback
{
public static function staticCallback()
{
$args = func_get_args();
if ($args == array('foo', 'bar')) {
return 'pass';
}
}
public function nonStaticCallback()
{
$args = func_get_args();
if ($args == array('foo', 'bar')) {
return 'pass';
}
}
}