first commit
This commit is contained in:
13
vendor/phpunit/phpunit-mock-objects/tests/_fixture/MethodCallbackByReference.php
vendored
Normal file
13
vendor/phpunit/phpunit-mock-objects/tests/_fixture/MethodCallbackByReference.php
vendored
Normal file
@ -0,0 +1,13 @@
|
||||
<?php
|
||||
class MethodCallbackByReference
|
||||
{
|
||||
public function bar(&$a, &$b, $c)
|
||||
{
|
||||
Legacy::bar($a, $b, $c);
|
||||
}
|
||||
|
||||
public function callback(&$a, &$b, $c)
|
||||
{
|
||||
$b = 1;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user