Completed
Push — master ( 4b5952...b8f7dd )
by Andreas
11s
created
lib/Doctrine/ODM/MongoDB/Aggregation/Stage/GraphLookup.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -280,6 +280,9 @@
 block discarded – undo
280 280
         return Type::convertPHPToDatabaseValue(Expr::convertExpression($expression));
281 281
     }
282 282
 
283
+    /**
284
+     * @param string $fieldName
285
+     */
283 286
     private function convertTargetFieldName($fieldName)
284 287
     {
285 288
         if (is_array($fieldName)) {
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/Aggregation/Stage/AbstractBucket.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -81,6 +81,9 @@
 block discarded – undo
81 81
      */
82 82
     abstract protected function getStageName() : string;
83 83
 
84
+    /**
85
+     * @param Expr $expression
86
+     */
84 87
     private function convertExpression($expression)
85 88
     {
86 89
         if (is_array($expression)) {
Please login to merge, or discard this patch.
lib/Doctrine/ODM/MongoDB/Repository/DocumentRepository.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -151,7 +151,6 @@
 block discarded – undo
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
     {
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.
lib/Doctrine/ODM/MongoDB/UnitOfWork.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -2133,6 +2133,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
lib/Doctrine/ODM/MongoDB/Aggregation/Stage/Lookup.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -137,6 +137,9 @@
 block discarded – undo
137 137
         return $this;
138 138
     }
139 139
 
140
+    /**
141
+     * @param ClassMetadata $class
142
+     */
140 143
     protected function prepareFieldName(string $fieldName, ?ClassMetadata $class = null) : string
141 144
     {
142 145
         if (! $class) {
Please login to merge, or discard this patch.
lib/Doctrine/ODM/MongoDB/Aggregation/Expr.php 1 patch
Doc Comments   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1074,7 +1074,7 @@  discard block
 block discarded – undo
1074 1074
      *
1075 1075
      * @param mixed|self $start An integer that specifies the start of the sequence. Can be any valid expression that resolves to an integer.
1076 1076
      * @param mixed|self $end   An integer that specifies the exclusive upper limit of the sequence. Can be any valid expression that resolves to an integer.
1077
-     * @param mixed|self $step  Optional. An integer that specifies the increment value. Can be any valid expression that resolves to a non-zero integer. Defaults to 1.
1077
+     * @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.
1078 1078
      */
1079 1079
     public function range($start, $end, $step = 1) : self
1080 1080
     {
@@ -1588,6 +1588,7 @@  discard block
 block discarded – undo
1588 1588
      * Ensure that a current field has been set.
1589 1589
      *
1590 1590
      * @throws LogicException If a current field has not been set.
1591
+     * @param string $method
1591 1592
      */
1592 1593
     private function requiresCurrentField(?string $method = null) : void
1593 1594
     {
@@ -1598,6 +1599,7 @@  discard block
 block discarded – undo
1598 1599
 
1599 1600
     /**
1600 1601
      * @throws BadMethodCallException If there is no current switch operator.
1602
+     * @param string $method
1601 1603
      */
1602 1604
     private function requiresSwitchStatement(?string $method = null) : void
1603 1605
     {
Please login to merge, or discard this patch.
lib/Doctrine/ODM/MongoDB/Aggregation/Stage/Match.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -452,7 +452,7 @@
 block discarded – undo
452 452
      * @see http://docs.mongodb.org/manual/reference/operator/mod/
453 453
      *
454 454
      * @param float|int $divisor
455
-     * @param float|int $remainder
455
+     * @param integer $remainder
456 456
      */
457 457
     public function mod($divisor, $remainder = 0) : self
458 458
     {
Please login to merge, or discard this patch.