1
0
mirror of https://github.com/e107inc/e107.git synced 2025-10-12 13:34:39 +02:00
Files
php-e107/vendor/phpunit/phpunit-mock-objects/tests/_fixture/MethodCallback.php
2018-02-06 03:18:31 -06:00

22 lines
360 B
PHP

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