From 3e258f32cc5cd08cabaf96c3e4d560133de2bf8b Mon Sep 17 00:00:00 2001 From: odain Date: Wed, 13 Sep 2023 10:30:56 +0200 Subject: [PATCH] =?UTF-8?q?N=C2=B05491-fix=20redundant=20GetNonPublicStati?= =?UTF-8?q?cProperty?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/BaseTestCase/ItopTestCase.php | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/tests/php-unit-tests/src/BaseTestCase/ItopTestCase.php b/tests/php-unit-tests/src/BaseTestCase/ItopTestCase.php index 74006650f..d7ee25386 100644 --- a/tests/php-unit-tests/src/BaseTestCase/ItopTestCase.php +++ b/tests/php-unit-tests/src/BaseTestCase/ItopTestCase.php @@ -276,25 +276,9 @@ abstract class ItopTestCase extends TestCase } /** - * @param string $sClass - * @param string $sProperty - * - * @return mixed property - * - * @throws \ReflectionException * @since 2.7.10 3.1.0 */ public function GetNonPublicStaticProperty(string $sClass, string $sProperty) - { - $oProperty = $this->GetProperty($sClass, $sProperty); - - return $oProperty->getValue(); - } - - /** - * @since 3.1.0 - */ - public function GetNonPublicStaticProperty(string $sClass, string $sProperty) { /** @noinspection OneTimeUseVariablesInspection */ $oProperty = $this->GetProperty($sClass, $sProperty);