From e7706cb0fc86a46669b050b67d7a1d786216f424 Mon Sep 17 00:00:00 2001 From: Joachim van de Haterd Date: Mon, 27 May 2024 15:34:08 +0200 Subject: [PATCH] compatibility issue MemoryFile --- www/go/core/fs/MemoryFile.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/www/go/core/fs/MemoryFile.php b/www/go/core/fs/MemoryFile.php index 9abb693fa0..fa9658b158 100644 --- a/www/go/core/fs/MemoryFile.php +++ b/www/go/core/fs/MemoryFile.php @@ -143,8 +143,8 @@ public function setName(string $name) { $this->path = $name; } - public function appendNumberToNameIfExists():string { - return $this->path; + public function appendNumberToNameIfExists():self { + return $this; } public function output(bool $sendHeaders = true, bool $useCache = true, array $headers = [], bool $inline = true) {