We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa79242 commit f62596aCopy full SHA for f62596a
src/PluginClientFactory.php
@@ -16,7 +16,7 @@
16
final class PluginClientFactory
17
{
18
/**
19
- * @var callable|null
+ * @var (callable(ClientInterface|HttpAsyncClient, Plugin[], array): PluginClient)|null
20
*/
21
private static $factory;
22
@@ -28,8 +28,10 @@ final class PluginClientFactory
28
* application execution.
29
*
30
* @internal
31
+ *
32
+ * @param callable(ClientInterface|HttpAsyncClient, Plugin[], array): PluginClient $factory
33
- public static function setFactory(callable $factory)
34
+ public static function setFactory(callable $factory): void
35
36
static::$factory = $factory;
37
}
0 commit comments