@@ -147,7 +147,7 @@ discard block |
||
147 | 147 | */ |
148 | 148 | public function detach() |
149 | 149 | { |
150 | - if (! $this->isStream()) { |
|
150 | + if (!$this->isStream()) { |
|
151 | 151 | return null; |
152 | 152 | } |
153 | 153 | |
@@ -169,7 +169,7 @@ discard block |
||
169 | 169 | */ |
170 | 170 | public function getSize() |
171 | 171 | { |
172 | - if (! $this->isStream()) { |
|
172 | + if (!$this->isStream()) { |
|
173 | 173 | return null; |
174 | 174 | } |
175 | 175 | |
@@ -223,7 +223,7 @@ discard block |
||
223 | 223 | { |
224 | 224 | $this->assertPropertyStream(); |
225 | 225 | |
226 | - if (! $this->seekable) { |
|
226 | + if (!$this->seekable) { |
|
227 | 227 | throw new RuntimeException( |
228 | 228 | 'Stream is not seekable.' |
229 | 229 | ); |
@@ -346,7 +346,7 @@ discard block |
||
346 | 346 | if ($this->isStream()) { |
347 | 347 | $this->meta = stream_get_meta_data($this->stream); |
348 | 348 | |
349 | - if (! $key) { |
|
349 | + if (!$key) { |
|
350 | 350 | return $this->meta; |
351 | 351 | } |
352 | 352 | |
@@ -387,7 +387,7 @@ discard block |
||
387 | 387 | */ |
388 | 388 | protected function assertStream($stream): void |
389 | 389 | { |
390 | - if (! is_resource($stream)) { |
|
390 | + if (!is_resource($stream)) { |
|
391 | 391 | throw new InvalidArgumentException( |
392 | 392 | sprintf( |
393 | 393 | 'Stream should be a resource, but "%s" provided.', |
@@ -405,7 +405,7 @@ discard block |
||
405 | 405 | */ |
406 | 406 | protected function assertPropertyStream(): void |
407 | 407 | { |
408 | - if (! $this->isStream()) { |
|
408 | + if (!$this->isStream()) { |
|
409 | 409 | throw new RuntimeException( |
410 | 410 | 'Stream does not exist.' |
411 | 411 | ); |