aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/Files
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2024-09-15 21:40:55 +0200
committerChristoph Wurst <christoph@winzerhof-wurst.at>2024-09-15 21:40:55 +0200
commit1ee833efab85f484469f15267c6b32bb0ce55d20 (patch)
tree6dd02223489d9653630256790afca166c59419f0 /lib/public/Files
parent5a8d0a2721141f0edccc04feb21f0d35ab40eca9 (diff)
downloadnextcloud-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 'lib/public/Files')
-rw-r--r--lib/public/Files/LockNotAcquiredException.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/public/Files/LockNotAcquiredException.php b/lib/public/Files/LockNotAcquiredException.php
index 19e0bbc2543..93d861c248f 100644
--- a/lib/public/Files/LockNotAcquiredException.php
+++ b/lib/public/Files/LockNotAcquiredException.php
@@ -35,6 +35,6 @@ class LockNotAcquiredException extends \Exception {
* @since 7.0.0
*/
public function __toString(): string {
- return __CLASS__ . ": [{$this->code}]: {$this->message}\n";
+ return self::class . ": [{$this->code}]: {$this->message}\n";
}
}