aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/legacy/OC_Image.php
diff options
context:
space:
mode:
authorCôme Chilliet <come.chilliet@nextcloud.com>2024-04-02 17:13:35 +0200
committerRichard Steinmetz <richard@steinmetz.cloud>2024-04-08 11:29:09 +0200
commitab6afe0111b25bd2d764bb807f086808ae7a5534 (patch)
treedaa4749047458d69e04da2d8e1fef348ceed6630 /lib/private/legacy/OC_Image.php
parent9ef70f0c4e94bd32d6b7732d4735c561901cb3df (diff)
downloadnextcloud-server-ab6afe0111b25bd2d764bb807f086808ae7a5534.tar.gz
nextcloud-server-ab6afe0111b25bd2d764bb807f086808ae7a5534.zip
fix: Fix new psalm errors from update
Not sure about the SimpleContainer modification, let’s see what CI says about that. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'lib/private/legacy/OC_Image.php')
-rw-r--r--lib/private/legacy/OC_Image.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/legacy/OC_Image.php b/lib/private/legacy/OC_Image.php
index 48f1812038b..28d4af118f0 100644
--- a/lib/private/legacy/OC_Image.php
+++ b/lib/private/legacy/OC_Image.php
@@ -419,7 +419,7 @@ class OC_Image implements \OCP\IImage {
/**
* @return string - base64 encoded, which is suitable for embedding in a VCard.
*/
- public function __toString() {
+ public function __toString(): string {
return base64_encode($this->data());
}