Browse Source

Fix psalm parameter type

Signed-off-by: Joas Schilling <coding@schilljs.com>
tags/v25.0.0beta7
Joas Schilling 1 year ago
parent
commit
df57b51c8b
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      lib/public/AppFramework/Services/IInitialState.php

+ 1
- 1
lib/public/AppFramework/Services/IInitialState.php View File

@@ -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;
}

Loading…
Cancel
Save