mirror of
https://github.com/parsecsv/parsecsv-for-php.git
synced 2026-02-19 08:36:39 +00:00
Convert some old array() calls to new [] syntax
This commit is contained in:
@@ -326,7 +326,7 @@ class ParseTest extends TestCase {
|
||||
* @return mixed Method return.
|
||||
*/
|
||||
private function invokeMethod($object, $methodName, $parameters = []) {
|
||||
$reflection = new ReflectionClass(get_class($object));
|
||||
$reflection = new ReflectionClass($object::class);
|
||||
$method = $reflection->getMethod($methodName);
|
||||
$method->setAccessible(true);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user