mirror of
https://github.com/nextcloud/server.git
synced 2026-04-22 23:03:00 -04:00
fix(IInitialState): Allow provideLazyInitialState() closure to return array
Signed-off-by: provokateurin <kate@provokateurin.de>
This commit is contained in:
parent
9c717aa701
commit
26fa4da8c2
1 changed files with 1 additions and 1 deletions
|
|
@ -37,7 +37,7 @@ interface IInitialState {
|
|||
*
|
||||
* @param string $key
|
||||
* @param Closure $closure returns a primitive or an object that implements JsonSerializable
|
||||
* @psalm-param Closure():bool|Closure():int|Closure():float|Closure():string|Closure():\JsonSerializable $closure
|
||||
* @psalm-param Closure():bool|Closure():int|Closure():float|Closure():string|Closure():array|Closure():\JsonSerializable $closure
|
||||
*/
|
||||
public function provideLazyInitialState(string $key, Closure $closure): void;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue