No reason for call_user_func_array

This commit is contained in:
Gregory Oschwald 2013-07-16 10:34:44 -07:00
parent e3289ec416
commit f0430b613d

View File

@ -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);
}
}
}