Completed
Push — master ( a4b3c8...01191a )
by Jonathan
11s
created
lib/Doctrine/ODM/MongoDB/Aggregation/Stage/Operator.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -376,7 +376,7 @@  discard block
 block discarded – undo
376 376
      *
377 377
      * @see http://docs.mongodb.org/manual/meta/aggregation-quick-reference/#aggregation-expressions
378 378
      * @see Expr::expression
379
-     * @param mixed|Expr $value
379
+     * @param boolean $value
380 380
      */
381 381
     public function expression($value)
382 382
     {
@@ -945,7 +945,7 @@  discard block
 block discarded – undo
945 945
      * @see Expr::range
946 946
      * @param mixed|Expr $start An integer that specifies the start of the sequence. Can be any valid expression that resolves to an integer.
947 947
      * @param mixed|Expr $end   An integer that specifies the exclusive upper limit of the sequence. Can be any valid expression that resolves to an integer.
948
-     * @param mixed|Expr $step  Optional. An integer that specifies the increment value. Can be any valid expression that resolves to a non-zero integer. Defaults to 1.
948
+     * @param integer $step  Optional. An integer that specifies the increment value. Can be any valid expression that resolves to a non-zero integer. Defaults to 1.
949 949
      */
950 950
     public function range($start, $end, $step = 1): self
951 951
     {
Please login to merge, or discard this patch.
lib/Doctrine/ODM/MongoDB/Mapping/Driver/XmlDriver.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -38,6 +38,7 @@
 block discarded – undo
38 38
 
39 39
     /**
40 40
      * {@inheritDoc}
41
+     * @param \Doctrine\Common\Persistence\Mapping\Driver\SymfonyFileLocator $locator
41 42
      */
42 43
     public function __construct($locator, $fileExtension = self::DEFAULT_FILE_EXTENSION)
43 44
     {
Please login to merge, or discard this patch.
lib/Doctrine/ODM/MongoDB/Persisters/DocumentPersister.php 1 patch
Doc Comments   +5 added lines, -1 removed lines patch added patch discarded remove patch
@@ -438,6 +438,7 @@  discard block
 block discarded – undo
438 438
      * be used to match an _id value.
439 439
      *
440 440
      * @param mixed $criteria Query criteria
441
+     * @param \Doctrine\Common\Proxy\Proxy $document
441 442
      * @throws LockException
442 443
      * @todo Check identity map? loadById method? Try to guess whether $criteria is the id?
443 444
      */
@@ -470,6 +471,9 @@  discard block
 block discarded – undo
470 471
 
471 472
     /**
472 473
      * Finds documents by a set of criteria.
474
+     * @param string[] $sort
475
+     * @param integer $limit
476
+     * @param integer $skip
473 477
      */
474 478
     public function loadAll(array $criteria = [], ?array $sort = null, ?int $limit = null, ?int $skip = null): Iterator
475 479
     {
@@ -581,7 +585,7 @@  discard block
 block discarded – undo
581 585
      * @param object $result   The query result.
582 586
      * @param object $document The document object to fill, if any.
583 587
      * @param array  $hints    Hints for document creation.
584
-     * @return object The filled and managed document object or NULL, if the query result is empty.
588
+     * @return null|\Doctrine\ODM\MongoDB\object The filled and managed document object or NULL, if the query result is empty.
585 589
      */
586 590
     private function createDocument($result, ?object $document = null, array $hints = []): ?object
587 591
     {
Please login to merge, or discard this patch.
lib/Doctrine/ODM/MongoDB/SchemaManager.php 1 patch
Doc Comments   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,6 +36,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
     {
Please login to merge, or discard this patch.