Completed
Push — master ( df01cf...e8a141 )
by Maciej
36:41 queued 13:50
created
lib/Doctrine/ODM/MongoDB/SchemaManager.php 2 patches
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -443,7 +443,7 @@  discard block
 block discarded – undo
443 443
      * the unique index. Additionally, the background option is only
444 444
      * relevant to index creation and is not considered.
445 445
      *
446
-     * @param array|IndexInfo $mongoIndex Mongo index data.
446
+     * @param IndexInfo $mongoIndex Mongo index data.
447 447
      * @param array $documentIndex Document index data.
448 448
      * @return bool True if the indexes are equivalent, otherwise false.
449 449
      */
@@ -589,9 +589,9 @@  discard block
 block discarded – undo
589 589
     }
590 590
 
591 591
     /**
592
-     * @param $documentName
592
+     * @param string $documentName
593 593
      *
594
-     * @return array
594
+     * @return string
595 595
      */
596 596
     private function runShardCollectionCommand($documentName)
597 597
     {
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,6 @@
 block discarded – undo
23 23
 use Doctrine\ODM\MongoDB\Mapping\ClassMetadataFactory;
24 24
 use Doctrine\ODM\MongoDB\Mapping\ClassMetadataInfo;
25 25
 use MongoDB\Driver\Exception\RuntimeException;
26
-use MongoDB\Driver\WriteConcern;
27 26
 use MongoDB\Model\IndexInfo;
28 27
 
29 28
 class SchemaManager
Please login to merge, or discard this patch.
lib/Doctrine/ODM/MongoDB/Aggregation/Stage/GraphLookup.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -325,6 +325,9 @@  discard block
 block discarded – undo
325 325
         return Type::convertPHPToDatabaseValue(Expr::convertExpression($expression));
326 326
     }
327 327
 
328
+    /**
329
+     * @param string $fieldName
330
+     */
328 331
     private function convertTargetFieldName($fieldName)
329 332
     {
330 333
         if (is_array($fieldName)) {
@@ -347,6 +350,9 @@  discard block
 block discarded – undo
347 350
         return $this->dm->getUnitOfWork()->getDocumentPersister($class->name);
348 351
     }
349 352
 
353
+    /**
354
+     * @param string $fieldName
355
+     */
350 356
     private function getReferencedFieldName($fieldName, array $mapping)
351 357
     {
352 358
         if ( ! $mapping['isOwningSide']) {
Please login to merge, or discard this patch.