From f105f2c1705d682af00d920bda63acadf10535fc Mon Sep 17 00:00:00 2001 From: jaytagdamian Date: Fri, 29 Sep 2023 17:38:21 +0100 Subject: [PATCH] Update File.php Return type of obregonco\B2\File::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice --- src/File.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/File.php b/src/File.php index 240506f..8ef83c4 100644 --- a/src/File.php +++ b/src/File.php @@ -113,7 +113,7 @@ public function getUploadTimestamp() /** * @return array */ - public function jsonSerialize() + public function jsonSerialize():mixed { return $this->asArray(); }