diff --git a/tests/GeoIp2/Test/Database/ReaderTest.php b/tests/GeoIp2/Test/Database/ReaderTest.php index 3875013..c0f0807 100644 --- a/tests/GeoIp2/Test/Database/ReaderTest.php +++ b/tests/GeoIp2/Test/Database/ReaderTest.php @@ -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); } } }