Skip to content

Commit 0482c54

Browse files
committed
Add note on optional Client
1 parent 513f73c commit 0482c54

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

HttpCache/Varnish.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,9 @@ class Varnish implements BanInterface, PurgeInterface, RefreshInterface
6262
*
6363
* @param array $ips Varnish IP addresses
6464
* @param string $host Default hostname
65-
* @param ClientInterface $client HTTP client (optional)
65+
* @param ClientInterface $client HTTP client (optional). If no HTTP client
66+
* is supplied, a default one will be
67+
* created automatically.
6668
*/
6769
public function __construct(array $ips, $host, ClientInterface $client = null)
6870
{

0 commit comments

Comments
 (0)