aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/HintException.php
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/HintException.php
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/HintException.php')
-rw-r--r--lib/public/HintException.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/public/HintException.php b/lib/public/HintException.php
index 97abf777ab1..6d9684bddea 100644
--- a/lib/public/HintException.php
+++ b/lib/public/HintException.php
@@ -43,7 +43,7 @@ class HintException extends \Exception {
* @return string
*/
public function __toString(): string {
- return __CLASS__ . ": [{$this->code}]: {$this->message} ({$this->hint})\n";
+ return self::class . ": [{$this->code}]: {$this->message} ({$this->hint})\n";
}
/**