Since Http\Client\Common\PluginClientFactory is declared final, using late-static binding will have no effect. You might want to replace static with self instead.
Late static binding only has effect in subclasses.
A final class cannot be extended anymore so late static binding cannot occurr.
Consider replacing static:: with self::.
To learn more about late static binding, please refer to the PHP core
documentation.
Loading history...
30
}
31
32
/**
33
* @param HttpClient|HttpAsyncClient $client
34
* @param Plugin[] $plugins
35
* @param array $options {
36
*
37
* @var string $client_name to give client a name which may be used when displaying client information like in
38
* the HTTPlugBundle profiler.
39
* }
40
*
41
* @see PluginClient constructor for PluginClient specific $options.
42
*
43
* @return PluginClient
44
*/
45
1
public function createClient($client, array $plugins = [], array $options = [])
Since Http\Client\Common\PluginClientFactory is declared final, using late-static binding will have no effect. You might want to replace static with self instead.
Late static binding only has effect in subclasses.
A final class cannot be extended anymore so late static binding cannot occurr.
Consider replacing static:: with self::.
To learn more about late static binding, please refer to the PHP core
documentation.
Since Http\Client\Common\PluginClientFactory is declared final, using late-static binding will have no effect. You might want to replace static with self instead.
Late static binding only has effect in subclasses.
A final class cannot be extended anymore so late static binding cannot occurr.
Consider replacing static:: with self::.
To learn more about late static binding, please refer to the PHP core
documentation.
Loading history...
49
50
return $factory($client, $plugins, $options);
51
}
52
53
1
return new PluginClient($client, $plugins, $options);
Late static binding only has effect in subclasses. A
final
class cannot be extended anymore so late static binding cannot occurr. Consider replacingstatic::
withself::
.To learn more about late static binding, please refer to the PHP core documentation.