File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -14,15 +14,15 @@ Usage
1414The ``CachePlugin `` allows you to cache responses from the server. It can use
1515any PSR-6 compatible caching engine. By default, the plugin respects the cache
1616control headers from the server as specified in :rfc: `7234 `. It needs a
17- :ref: ` stream < stream-factory >` and a `PSR-6 `_ implementation::
17+ ` PSR-17 `_ StreamFactoryInterface and a `PSR-6 `_ implementation::
1818
1919 use Http\Discovery\HttpClientDiscovery;
2020 use Http\Client\Common\PluginClient;
2121 use Http\Client\Common\Plugin\CachePlugin;
2222
2323 /** @var \Psr\Cache\CacheItemPoolInterface $pool */
2424 $pool = ...
25- /** @var \Http\Message\StreamFactory $streamFactory */
25+ /** @var \Psr\ Http\Message\StreamFactoryInterface $streamFactory */
2626 $streamFactory = ...
2727
2828 $options = [];
@@ -180,3 +180,4 @@ It does store responses with cookies or a ``Set-Cookie`` header. Be careful with
180180the order of your plugins.
181181
182182.. _PSR-6 : http://www.php-fig.org/psr/psr-6/
183+ .. _PSR-17 : http://www.php-fig.org/psr/psr-17/
You can’t perform that action at this time.
0 commit comments