@@ -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 | { |