mirror of
https://github.com/nextcloud/server.git
synced 2026-06-09 00:32:29 -04:00
fix(core): Add missing null value possibility to Resource and Reference richObject
Signed-off-by: provokateurin <kate@provokateurin.de>
This commit is contained in:
parent
5ebd5626c5
commit
4b4572acd9
2 changed files with 6 additions and 4 deletions
|
|
@ -70,7 +70,7 @@ namespace OCA\Core;
|
|||
*
|
||||
* @psalm-type CoreResource = array{
|
||||
* richObjectType: string,
|
||||
* richObject: array<string, mixed>,
|
||||
* richObject: array<string, ?mixed>,
|
||||
* openGraphObject: CoreOpenGraphObject,
|
||||
* accessible: bool,
|
||||
* }
|
||||
|
|
@ -83,7 +83,7 @@ namespace OCA\Core;
|
|||
*
|
||||
* @psalm-type CoreReference = array{
|
||||
* richObjectType: string,
|
||||
* richObject: array<string, mixed>,
|
||||
* richObject: array<string, ?mixed>,
|
||||
* openGraphObject: CoreOpenGraphObject,
|
||||
* accessible: bool,
|
||||
* }
|
||||
|
|
|
|||
|
|
@ -298,7 +298,8 @@
|
|||
"richObject": {
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"type": "object"
|
||||
"type": "object",
|
||||
"nullable": true
|
||||
}
|
||||
},
|
||||
"openGraphObject": {
|
||||
|
|
@ -356,7 +357,8 @@
|
|||
"richObject": {
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"type": "object"
|
||||
"type": "object",
|
||||
"nullable": true
|
||||
}
|
||||
},
|
||||
"openGraphObject": {
|
||||
|
|
|
|||
Loading…
Reference in a new issue