← All changes
|
includes/sdk/google/guzzlehttp/psr7/src/LazyOpenStream.php
+3
-3
1.0.1
→
1.4.2
View file →
| @@ -1,10 +1,10 @@ | ||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | 3 | declare (strict_types=1); |
| 4 | -namespace Dudlewebs\WPMCS\GuzzleHttp\Psr7; | |
| 4 | +namespace Dudlewebs\WPMCS\GCP\GuzzleHttp\Psr7; | |
| 5 | 5 | |
| 6 | -use Dudlewebs\WPMCS\Psr\Http\Message\StreamInterface; | |
| 6 | +use Dudlewebs\WPMCS\GCP\Psr\Http\Message\StreamInterface; | |
| 7 | 7 | /** |
| 8 | 8 | * Lazily reads or writes to a file that is opened only after an IO operation |
| 9 | 9 | * take place on the stream. |
| 10 | 10 | */ |
| @@ -33,9 +33,9 @@ | ||
| 33 | 33 | } |
| 34 | 34 | /** |
| 35 | 35 | * Creates the underlying stream lazily when required. |
| 36 | 36 | */ |
| 37 | - protected function createStream(): StreamInterface | |
| 37 | + protected function createStream() : StreamInterface | |
| 38 | 38 | { |
| 39 | 39 | return Utils::streamFor(Utils::tryFopen($this->filename, $this->mode)); |
| 40 | 40 | } |
| 41 | 41 | } |