@@ -106,7 +106,7 @@ |
||
106 | 106 | * @see AbstractWhere |
107 | 107 | * @param string|mixed $identifier Column or expression. |
108 | 108 | * @param mixed $variousA Operator or value. |
109 | - * @param mixed $variousB Value, if operator specified. |
|
109 | + * @param Parameter $variousB Value, if operator specified. |
|
110 | 110 | * @param mixed $variousC Required only in between statements. |
111 | 111 | * @return $this |
112 | 112 | * @throws BuilderException |
@@ -189,7 +189,7 @@ |
||
189 | 189 | * $tag->tagged->posts; |
190 | 190 | * |
191 | 191 | * @param string $alias |
192 | - * @return RecordEntity|RecordIterator |
|
192 | + * @return null|EntityInterface |
|
193 | 193 | */ |
194 | 194 | public function __get($alias) |
195 | 195 | { |
@@ -161,6 +161,7 @@ discard block |
||
161 | 161 | * {@inheritdoc} |
162 | 162 | * |
163 | 163 | * Automatically forces prefix value. |
164 | + * @param string $name |
|
164 | 165 | */ |
165 | 166 | public function setName($name) |
166 | 167 | { |
@@ -279,7 +280,7 @@ discard block |
||
279 | 280 | * $table->unique(['key', 'key2']); |
280 | 281 | * |
281 | 282 | * @param mixed $columns Column name, or array of columns. |
282 | - * @return AbstractColumn|null |
|
283 | + * @return AbstractIndex |
|
283 | 284 | */ |
284 | 285 | public function unique($columns) |
285 | 286 | { |
@@ -142,7 +142,7 @@ discard block |
||
142 | 142 | /** |
143 | 143 | * Get composition parent. |
144 | 144 | * |
145 | - * @return Document|null |
|
145 | + * @return EntityInterface |
|
146 | 146 | */ |
147 | 147 | public function getParent() |
148 | 148 | { |
@@ -489,7 +489,7 @@ discard block |
||
489 | 489 | /** |
490 | 490 | * {@inheritdoc} |
491 | 491 | * |
492 | - * @return Document[] |
|
492 | + * @return \ArrayIterator |
|
493 | 493 | */ |
494 | 494 | public function getIterator() |
495 | 495 | { |
@@ -581,7 +581,7 @@ discard block |
||
581 | 581 | * Example: |
582 | 582 | * $user->cards->findOne(['active' => true]); |
583 | 583 | * |
584 | - * @param array|DocumentEntity $query |
|
584 | + * @param DocumentEntity $query |
|
585 | 585 | * @return null|DocumentEntity |
586 | 586 | */ |
587 | 587 | public function findOne($query = []) |
@@ -330,7 +330,7 @@ |
||
330 | 330 | * Perform iterator on pre-loaded data. Use relation selector to iterate thought custom relation |
331 | 331 | * query. |
332 | 332 | * |
333 | - * @return RecordEntity|RecordEntity[]|RecordIterator |
|
333 | + * @return null|EntityInterface |
|
334 | 334 | */ |
335 | 335 | public function getIterator() |
336 | 336 | { |
@@ -71,7 +71,7 @@ |
||
71 | 71 | * recommended option in* development environments. Profiling will be applied for ODM Collection |
72 | 72 | * queries only. |
73 | 73 | * |
74 | - * @param bool|int $profiling Enable or disable driver profiling. |
|
74 | + * @param integer $profiling Enable or disable driver profiling. |
|
75 | 75 | * @return $this |
76 | 76 | */ |
77 | 77 | public function setProfiling($profiling = self::PROFILE_SIMPLE) |