diff options
| author | Greg Roach <fisharebest@webtrees.net> | 2019-05-10 11:14:08 +0100 |
|---|---|---|
| committer | Greg Roach <fisharebest@webtrees.net> | 2019-05-10 12:10:23 +0100 |
| commit | e7686319595e2aac8ce10b4383f91bfbe21d12f5 (patch) | |
| tree | 8d83ccd670ead58512b1e2f959eb8c6607bccc94 /vendor/psr | |
| parent | 3025da2c89a1d3bca885509d14fe72f88f2e989a (diff) | |
| download | webtrees-e7686319595e2aac8ce10b4383f91bfbe21d12f5.tar.gz webtrees-e7686319595e2aac8ce10b4383f91bfbe21d12f5.tar.bz2 webtrees-e7686319595e2aac8ce10b4383f91bfbe21d12f5.zip | |
Update vendor dependencies
Diffstat (limited to 'vendor/psr')
| -rw-r--r-- | vendor/psr/http-factory/README.md | 7 | ||||
| -rw-r--r-- | vendor/psr/http-factory/src/StreamFactoryInterface.php | 2 |
2 files changed, 7 insertions, 2 deletions
diff --git a/vendor/psr/http-factory/README.md b/vendor/psr/http-factory/README.md index f86868a0cf..41d362a625 100644 --- a/vendor/psr/http-factory/README.md +++ b/vendor/psr/http-factory/README.md @@ -1,7 +1,10 @@ HTTP Factories ============== -This is the implementation of [PSR-17 (HTTP Message Factories)][psr-17]. Please refer to the -specification for a description. +This repository holds all interfaces related to [PSR-17 (HTTP Message Factories)][psr-17]. +Please refer to the specification for a description. + +You can find implementations of the specification by looking for packages providing the +[psr/http-factory-implementation](https://packagist.org/providers/psr/http-factory-implementation) virtual package. [psr-17]: https://www.php-fig.org/psr/psr-17/ diff --git a/vendor/psr/http-factory/src/StreamFactoryInterface.php b/vendor/psr/http-factory/src/StreamFactoryInterface.php index ef4a936060..90e3240c47 100644 --- a/vendor/psr/http-factory/src/StreamFactoryInterface.php +++ b/vendor/psr/http-factory/src/StreamFactoryInterface.php @@ -27,6 +27,8 @@ interface StreamFactoryInterface * @param string $mode Mode with which to open the underlying filename/stream. * * @return StreamInterface + * @throws \RuntimeException If the file cannot be opened. + * @throws \InvalidArgumentException If the mode is invalid. */ public function createStreamFromFile(string $filename, string $mode = 'r'): StreamInterface; |
