Fix PHPDoc in OCP for new SetupResult class

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
This commit is contained in:
Côme Chilliet 2023-10-02 13:53:44 +02:00
parent a4618cfea0
commit 67e7a2635f
No known key found for this signature in database
GPG key ID: A3E2F658B28C760A

View file

@ -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,