From f0430b613db93688c9741c3ee549425aa8f377f3 Mon Sep 17 00:00:00 2001 From: Gregory Oschwald Date: Tue, 16 Jul 2013 10:34:44 -0700 Subject: [PATCH] No reason for call_user_func_array --- tests/GeoIp2/Test/Database/ReaderTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } } }