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:33 +0000 |
commit | 17cded643c633601585e7b610d1a08f9878ee67b (patch) | |
tree | 7273c4084bc92598d0cee02e47d9c5816aa122ab | |
parent | 6f4c3b73e09637e628761dd8fb6312e692c7855a (diff) | |
download | nextcloud-server-backport/50077/stable30.tar.gz nextcloud-server-backport/50077/stable30.zip |
fix(IInitialState): Allow provideLazyInitialState() closure to return arraybackport/50077/stable30
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 24698108d68..ac58bcad3cc 100644 --- a/lib/public/AppFramework/Services/IInitialState.php +++ b/lib/public/AppFramework/Services/IInitialState.php @@ -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; } |