@@ -391,6 +391,9 @@ |
||
| 391 | 391 | return $operationCollection; |
| 392 | 392 | } |
| 393 | 393 | |
| 394 | + /** |
|
| 395 | + * @param resource $stream |
|
| 396 | + */ |
|
| 394 | 397 | protected function readIndexFromStream($stream, \DateTime $created = null): Index |
| 395 | 398 | { |
| 396 | 399 | $index = new Index($created); |
@@ -24,8 +24,7 @@ |
||
| 24 | 24 | try |
| 25 | 25 | { |
| 26 | 26 | $this->vaultConnection->writeStream($this->blobId, $localStream); |
| 27 | - } |
|
| 28 | - catch (\RuntimeException $exception) |
|
| 27 | + } catch (\RuntimeException $exception) |
|
| 29 | 28 | { |
| 30 | 29 | return false; |
| 31 | 30 | } |