@@ -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 |
@@ -232,7 +232,7 @@ discard block |
||
232 | 232 | * such methods. |
233 | 233 | * |
234 | 234 | * @see AbstractWhere |
235 | - * @param string|mixed $joined Joined column or expression. |
|
235 | + * @param string $joined Joined column or expression. |
|
236 | 236 | * @param mixed $variousA Operator or value. |
237 | 237 | * @param mixed $variousB Value, if operator specified. |
238 | 238 | * @param mixed $variousC Required only in between statements. |
@@ -300,7 +300,7 @@ discard block |
||
300 | 300 | * @param string $joiner Boolean joiner (AND | OR). |
301 | 301 | * @param array $parameters Set of parameters collected from where functions. |
302 | 302 | * @param array $tokens Array to aggregate compiled tokens. Reference. |
303 | - * @param \Closure|null $wrapper Callback or closure used to wrap/collect every potential |
|
303 | + * @param callable $wrapper Callback or closure used to wrap/collect every potential |
|
304 | 304 | * parameter. |
305 | 305 | * @throws BuilderException |
306 | 306 | */ |
@@ -228,7 +228,7 @@ |
||
228 | 228 | * Execute statement. |
229 | 229 | * |
230 | 230 | * @param string $statement |
231 | - * @param array $parameters |
|
231 | + * @param string[] $parameters |
|
232 | 232 | * @return \PDOStatement |
233 | 233 | */ |
234 | 234 | protected function run($statement, array $parameters = []) |
@@ -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 | { |
@@ -68,7 +68,7 @@ |
||
68 | 68 | /** |
69 | 69 | * Migration status. |
70 | 70 | * |
71 | - * @return int |
|
71 | + * @return boolean |
|
72 | 72 | */ |
73 | 73 | public function getStatus() |
74 | 74 | { |
@@ -436,7 +436,7 @@ |
||
436 | 436 | * Debug information and logging. |
437 | 437 | * |
438 | 438 | * @param \MongoCursor $cursor |
439 | - * @param int|bool $profiling Profiling level |
|
439 | + * @param integer $profiling Profiling level |
|
440 | 440 | */ |
441 | 441 | protected function describeCursor( |
442 | 442 | \MongoCursor $cursor, |
@@ -68,7 +68,7 @@ |
||
68 | 68 | /** |
69 | 69 | * Migration status. |
70 | 70 | * |
71 | - * @return int |
|
71 | + * @return boolean |
|
72 | 72 | */ |
73 | 73 | public function getStatus() |
74 | 74 | { |
@@ -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 | { |
@@ -99,7 +99,7 @@ |
||
99 | 99 | * Method will not affect state of pre-loaded data! Use reset() method to do that. |
100 | 100 | * |
101 | 101 | * @see sync() |
102 | - * @param mixed $outer |
|
102 | + * @param \Spiral\ORM\RecordInterface $outer |
|
103 | 103 | * @param array $pivotData |
104 | 104 | */ |
105 | 105 | public function link($outer, array $pivotData = []) |