@@ -151,7 +151,6 @@ |
||
| 151 | 151 | * Finds documents by a set of criteria. |
| 152 | 152 | * |
| 153 | 153 | * @param int|null $limit |
| 154 | - * @param int|null $offset |
|
| 155 | 154 | */ |
| 156 | 155 | public function findBy(array $criteria, ?array $sort = null, $limit = null, $skip = null) : array |
| 157 | 156 | { |
@@ -21,6 +21,7 @@ discard block |
||
| 21 | 21 | * |
| 22 | 22 | * @param mixed $id File ID |
| 23 | 23 | * @param resource $destination Writable Stream |
| 24 | + * @return void |
|
| 24 | 25 | */ |
| 25 | 26 | public function downloadToStream($id, $destination) : void; |
| 26 | 27 | |
@@ -35,7 +36,6 @@ discard block |
||
| 35 | 36 | * Writes the contents of a readable stream to a GridFS file. |
| 36 | 37 | * |
| 37 | 38 | * @param resource $source Readable stream |
| 38 | - * @param object|null $metadata |
|
| 39 | 39 | * @return object The newly created GridFS file |
| 40 | 40 | */ |
| 41 | 41 | public function uploadFromStream(string $filename, $source, ?UploadOptions $uploadOptions = null); |
@@ -43,9 +43,7 @@ discard block |
||
| 43 | 43 | /** |
| 44 | 44 | * Writes the contents of a file to a GridFS file. |
| 45 | 45 | * |
| 46 | - * @param string $path |
|
| 47 | 46 | * @param string|null $filename The filename to upload the file with. If no filename is provided, the name of the source file will be used. |
| 48 | - * @param object|null $metadata |
|
| 49 | 47 | * @return object The newly created GridFS file |
| 50 | 48 | */ |
| 51 | 49 | public function uploadFromFile(string $source, ?string $filename = null, ?UploadOptions $uploadOptions = null); |
@@ -36,6 +36,7 @@ discard block |
||
| 36 | 36 | /** |
| 37 | 37 | * Ensure indexes are created for all documents that can be loaded with the |
| 38 | 38 | * metadata factory. |
| 39 | + * @param integer $timeout |
|
| 39 | 40 | */ |
| 40 | 41 | public function ensureIndexes(?int $timeout = null) : void |
| 41 | 42 | { |
@@ -53,6 +54,7 @@ discard block |
||
| 53 | 54 | * |
| 54 | 55 | * Indexes that exist in MongoDB but not the document metadata will be |
| 55 | 56 | * deleted. |
| 57 | + * @param integer $timeout |
|
| 56 | 58 | */ |
| 57 | 59 | public function updateIndexes(?int $timeout = null) : void |
| 58 | 60 | { |
@@ -397,7 +399,7 @@ discard block |
||
| 397 | 399 | * the unique index. Additionally, the background option is only |
| 398 | 400 | * relevant to index creation and is not considered. |
| 399 | 401 | * |
| 400 | - * @param array|IndexInfo $mongoIndex Mongo index data. |
|
| 402 | + * @param IndexInfo $mongoIndex Mongo index data. |
|
| 401 | 403 | */ |
| 402 | 404 | public function isMongoIndexEquivalentToDocumentIndex($mongoIndex, array $documentIndex) : bool |
| 403 | 405 | { |
@@ -2133,6 +2133,7 @@ |
||
| 2133 | 2133 | |
| 2134 | 2134 | /** |
| 2135 | 2135 | * Clears the UnitOfWork. |
| 2136 | + * @param string $documentName |
|
| 2136 | 2137 | */ |
| 2137 | 2138 | public function clear(?string $documentName = null) : void |
| 2138 | 2139 | { |