mirror of
https://github.com/nextcloud/server.git
synced 2025-03-12 23:47:25 +00:00
fix(IInitialState): Allow provideLazyInitialState() closure to return array
Signed-off-by: provokateurin <kate@provokateurin.de>
This commit is contained in:
parent
f30d0f543a
commit
18c9c1a38d
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,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