Skip to content

Commit 03291ca

Browse files
committed
up: rename an varname
1 parent 036ed35 commit 03291ca

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/BaseTestCase.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,10 @@ protected static function getMethod($class, string $method): ReflectionMethod
3939
// $class = new \ReflectionClass($class);
4040
// $method = $class->getMethod($method);
4141

42-
$method = new ReflectionMethod($class, $method);
43-
$method->setAccessible(true);
42+
$refMth = new ReflectionMethod($class, $method);
43+
$refMth->setAccessible(true);
4444

45-
return $method;
45+
return $refMth;
4646
}
4747

4848
/**

0 commit comments

Comments
 (0)