Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2022-09-15 12:28:40 +0300
committerJoas Schilling <coding@schilljs.com>2022-09-15 12:28:40 +0300
commitdf57b51c8b5666b42de62e7efec363af21eaf064 (patch)
tree4318ea1cbc44b32b969aa15f34daa5c2cf95b779 /lib
parent5267ea26241028cf193c0917f5ffd72adbba826f (diff)
Fix psalm parameter type
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/public/AppFramework/Services/IInitialState.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/public/AppFramework/Services/IInitialState.php b/lib/public/AppFramework/Services/IInitialState.php
index c0c363792fc..d8365893764 100644
--- a/lib/public/AppFramework/Services/IInitialState.php
+++ b/lib/public/AppFramework/Services/IInitialState.php
@@ -57,7 +57,7 @@ interface IInitialState {
*
* @param string $key
* @param Closure $closure returns a primitive or an object that implements JsonSerializable
- * @psalm-param Closure():int|Closure():float|Closure():string|Closure():\JsonSerializable $closure
+ * @psalm-param Closure():bool|Closure():int|Closure():float|Closure():string|Closure():\JsonSerializable $closure
*/
public function provideLazyInitialState(string $key, Closure $closure): void;
}