@@ -280,6 +280,9 @@ |
||
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)) { |
@@ -38,6 +38,7 @@ |
||
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 | { |
@@ -81,6 +81,9 @@ |
||
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)) { |
@@ -151,7 +151,6 @@ |
||
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 | { |
@@ -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 | { |
@@ -2133,6 +2133,7 @@ |
||
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 | { |
@@ -137,6 +137,9 @@ |
||
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) { |
@@ -1074,7 +1074,7 @@ discard block |
||
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 |
||
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 |
||
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 | { |
@@ -452,7 +452,7 @@ |
||
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 | { |