diff options
author | Anna <anna@nextcloud.com> | 2024-09-15 23:01:22 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-15 23:01:22 +0200 |
commit | 6892500405b689240e86527badbb91b1aa9d2e35 (patch) | |
tree | 6fa8f80741886d32a2b0106a4fa1da9992d0c954 /tests | |
parent | 6e983ce2075f96bc28de8367675c96c9473bcdfc (diff) | |
parent | 1ee833efab85f484469f15267c6b32bb0ce55d20 (diff) | |
download | nextcloud-server-6892500405b689240e86527badbb91b1aa9d2e35.tar.gz nextcloud-server-6892500405b689240e86527badbb91b1aa9d2e35.zip |
Merge pull request #48046 from nextcloud/refactor/self-class-reference
refactor: Replace __CLASS__ with ::class references
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__ ); |