@@ -257,7 +257,7 @@ discard block |
||
| 257 | 257 | /** |
| 258 | 258 | * Get real id (reference). |
| 259 | 259 | * |
| 260 | - * @return ObjectId |
|
| 260 | + * @return ObjectId|null |
|
| 261 | 261 | */ |
| 262 | 262 | public function getRealId(): ?ObjectId |
| 263 | 263 | { |
@@ -639,6 +639,7 @@ discard block |
||
| 639 | 639 | |
| 640 | 640 | /** |
| 641 | 641 | * Create new file as a child from this collection. |
| 642 | + * @param string $name |
|
| 642 | 643 | */ |
| 643 | 644 | public function addFile($name, ?ObjectId $session = null, array $attributes = [], int $conflict = NodeInterface::CONFLICT_NOACTION, bool $clone = false): File |
| 644 | 645 | { |
@@ -147,6 +147,7 @@ |
||
| 147 | 147 | |
| 148 | 148 | /** |
| 149 | 149 | * Store file. |
| 150 | + * @param string $adapter |
|
| 150 | 151 | */ |
| 151 | 152 | public function storeFile(File $file, ObjectId $session, ?string &$adapter = null) |
| 152 | 153 | { |
@@ -502,7 +502,7 @@ |
||
| 502 | 502 | $this->increaseVersion(); |
| 503 | 503 | |
| 504 | 504 | $this->addVersion($attributes) |
| 505 | - ->postPutFile(); |
|
| 505 | + ->postPutFile(); |
|
| 506 | 506 | |
| 507 | 507 | return $this->version; |
| 508 | 508 | } |
@@ -367,7 +367,7 @@ |
||
| 367 | 367 | |
| 368 | 368 | throw new Exception\InsufficientStorage( |
| 369 | 369 | 'user quota is full', |
| 370 | - Exception\InsufficientStorage::USER_QUOTA_FULL |
|
| 370 | + Exception\InsufficientStorage::USER_QUOTA_FULL |
|
| 371 | 371 | ); |
| 372 | 372 | } |
| 373 | 373 | |