From 52e07258af76bdcc88836d142cd606e4fb1b6b40 Mon Sep 17 00:00:00 2001 From: Kentaro Ohkouchi Date: Thu, 15 Aug 2019 18:32:20 +0900 Subject: [PATCH] Support to PHP5.4 --- tests/class/SC_Product/SC_Product_setIncTaxToProductTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/class/SC_Product/SC_Product_setIncTaxToProductTest.php b/tests/class/SC_Product/SC_Product_setIncTaxToProductTest.php index 8abd330c8b..7daac115de 100644 --- a/tests/class/SC_Product/SC_Product_setIncTaxToProductTest.php +++ b/tests/class/SC_Product/SC_Product_setIncTaxToProductTest.php @@ -130,7 +130,7 @@ private function wrapperToCheckPriceAndTaxRate($carry_price, $price, $carry_rate */ private static function getMethod($name) { - $class = new \ReflectionClass(SC_Product_Ex::class); + $class = new \ReflectionClass('SC_Product_Ex'); $method = $class->getMethod($name); $method->setAccessible(true); return $method;