Skip to content

Commit

Permalink
Document hidden dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
veewee committed Oct 18, 2024
1 parent 38d7d34 commit b7ef74d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ Creates a stream from a PSR-7 stream / request / response.
before you can use this stream, you'll need to install the `guzzlehttp/psr-7` package which contains a stream wrapper implementation.

```bash
composer require guzzlehttp/psr-7
composer require psr/http-message guzzlehttp/psr-7
```

```php
Expand Down
2 changes: 1 addition & 1 deletion src/Factory/Psr7Stream.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public static function createFromStream(StreamInterface $stream): ResourceStream
// @codeCoverageIgnoreStart
// StreamWrapper is always available in test-suite.
if (!class_exists(StreamWrapper::class)) {
throw new \RuntimeException('Please run: "composer require guzzle/psr-7" if you want to load a PSR-7 resource stream.');
throw new \RuntimeException('Please run: "composer require psr/http-message guzzle/psr-7" if you want to load a PSR-7 resource stream.');
}
// @codeCoverageIgnoreEnd

Expand Down

0 comments on commit b7ef74d

Please sign in to comment.