aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorAnna <anna@nextcloud.com>2024-09-15 23:01:22 +0200
committerGitHub <noreply@github.com>2024-09-15 23:01:22 +0200
commit6892500405b689240e86527badbb91b1aa9d2e35 (patch)
tree6fa8f80741886d32a2b0106a4fa1da9992d0c954 /tests
parent6e983ce2075f96bc28de8367675c96c9473bcdfc (diff)
parent1ee833efab85f484469f15267c6b32bb0ce55d20 (diff)
downloadnextcloud-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.php4
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__
);