diff options
author | provokateurin <kate@provokateurin.de> | 2025-01-08 10:32:43 +0100 |
---|---|---|
committer | backportbot[bot] <backportbot[bot]@users.noreply.github.com> | 2025-01-27 05:42:14 +0000 |
commit | 18c9c1a38d14aa9939bb262ee9371808ca8a5bca (patch) | |
tree | 63951561c99248fcf2a3d03b65ce5486527fe948 | |
parent | f30d0f543a96762238315578080f0a32890e8706 (diff) | |
download | nextcloud-server-backport/50077/stable29.tar.gz nextcloud-server-backport/50077/stable29.zip |
fix(IInitialState): Allow provideLazyInitialState() closure to return arraybackport/50077/stable29
Signed-off-by: provokateurin <kate@provokateurin.de>
-rw-r--r-- | lib/public/AppFramework/Services/IInitialState.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/public/AppFramework/Services/IInitialState.php b/lib/public/AppFramework/Services/IInitialState.php index 1a597567e19..1c806aeff27 100644 --- a/lib/public/AppFramework/Services/IInitialState.php +++ b/lib/public/AppFramework/Services/IInitialState.php @@ -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; } |