Completed
Pull Request — master (#1846)
by Catalin
15:48
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/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/Stage/Match.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -443,7 +443,7 @@
 block discarded – undo
443 443
      * @see Expr::mod()
444 444
      * @see http://docs.mongodb.org/manual/reference/operator/mod/
445 445
      * @param float|int $divisor
446
-     * @param float|int $remainder
446
+     * @param integer $remainder
447 447
      */
448 448
     public function mod($divisor, $remainder = 0): self
449 449
     {
Please login to merge, or discard this patch.
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.