diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2024-09-15 21:40:55 +0200 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2024-09-15 21:40:55 +0200 |
commit | 1ee833efab85f484469f15267c6b32bb0ce55d20 (patch) | |
tree | 6dd02223489d9653630256790afca166c59419f0 /tests | |
parent | 5a8d0a2721141f0edccc04feb21f0d35ab40eca9 (diff) | |
download | nextcloud-server-1ee833efab85f484469f15267c6b32bb0ce55d20.tar.gz nextcloud-server-1ee833efab85f484469f15267c6b32bb0ce55d20.zip |
refactor: Replace __CLASS__ with ::class referencesrefactor/self-class-reference
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/lib/AppFramework/Utility/ControllerMethodReflectorTest.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/lib/AppFramework/Utility/ControllerMethodReflectorTest.php b/tests/lib/AppFramework/Utility/ControllerMethodReflectorTest.php index b7d14cb6cba..e3a1f3a288e 100644 --- a/tests/lib/AppFramework/Utility/ControllerMethodReflectorTest.php +++ b/tests/lib/AppFramework/Utility/ControllerMethodReflectorTest.php @@ -72,7 +72,7 @@ class ControllerMethodReflectorTest extends \Test\TestCase { public function testGetAnnotationParameterSingle() { $reader = new ControllerMethodReflector(); $reader->reflect( - __CLASS__, + self::class, __FUNCTION__ ); @@ -85,7 +85,7 @@ class ControllerMethodReflectorTest extends \Test\TestCase { public function testGetAnnotationParameterMultiple() { $reader = new ControllerMethodReflector(); $reader->reflect( - __CLASS__, + self::class, __FUNCTION__ ); |