@@ -279,7 +279,7 @@ discard block |
||
279 | 279 | |
280 | 280 | // As long as we've got a resource, we can try seeking. If it fails, we can diagnose afterwards. |
281 | 281 | if (-1 === fseek($this->resource, $offset, $whence)) { |
282 | - throw new \RuntimeException("Failed to seek to stream position [$offset] with whence [".var_export($whence, true)."]."); |
|
282 | + throw new \RuntimeException("Failed to seek to stream position [$offset] with whence [" . var_export($whence, true) . "]."); |
|
283 | 283 | } |
284 | 284 | } |
285 | 285 | |
@@ -459,7 +459,7 @@ discard block |
||
459 | 459 | |
460 | 460 | // Those may change, so... besides - fancy syntax, eh chaps? |
461 | 461 | $this->status->{((isset($this->metadata['seekable']) && $this->metadata['seekable']) ? 'set' : 'remove')}(interfaces\Stream::SEEKABLE); |
462 | - $this->status->{((isset($this->metadata['blocked']) && $this->metadata['blocked']) ? 'set' : 'remove')}(interfaces\Stream::BLOCKED); |
|
462 | + $this->status->{((isset($this->metadata['blocked']) && $this->metadata['blocked']) ? 'set' : 'remove')}(interfaces\Stream::BLOCKED); |
|
463 | 463 | |
464 | 464 | return true; |
465 | 465 | } |