mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
Fix PHPDoc in OCP for new SetupResult class
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
This commit is contained in:
parent
a4618cfea0
commit
67e7a2635f
1 changed files with 5 additions and 0 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue