mirror of
https://github.com/t404owo/t404null.git
synced 2025-12-14 19:08:46 +00:00
Fixed twitter link
This commit is contained in:
21
vendor/phpunit/phpunit-mock-objects/tests/_fixture/MethodCallback.php
vendored
Normal file
21
vendor/phpunit/phpunit-mock-objects/tests/_fixture/MethodCallback.php
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
<?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';
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user