From 67e7a2635fad24113e9c86b25007c5648aa893d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=B4me=20Chilliet?= Date: Mon, 2 Oct 2023 13:53:44 +0200 Subject: [PATCH] Fix PHPDoc in OCP for new SetupResult class MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Côme Chilliet --- lib/public/SetupCheck/SetupResult.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/public/SetupCheck/SetupResult.php b/lib/public/SetupCheck/SetupResult.php index beb97d9d922..59d04323cd4 100644 --- a/lib/public/SetupCheck/SetupResult.php +++ b/lib/public/SetupCheck/SetupResult.php @@ -52,6 +52,11 @@ class SetupResult implements \JsonSerializable { return $this->linkToDoc; } + /** + * @brief Get an array representation of the result for API responses + * + * @since 28.0.0 + */ public function jsonSerialize(): array { return [ 'severity' => $this->severity,