No reason for call_user_func_array
This commit is contained in:
parent
e3289ec416
commit
f0430b613d
|
@ -74,7 +74,7 @@ class ReaderTest extends \PHPUnit_Framework_TestCase
|
|||
public function checkAllMethods($testCb)
|
||||
{
|
||||
foreach (array('city', 'cityIspOrg', 'country', 'omni') as $method) {
|
||||
call_user_func_array($testCb, array($method));
|
||||
$testCb($method);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user