@@ -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 |
@@ -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 = []) |
@@ -130,7 +130,7 @@ discard block |
||
| 130 | 130 | * value using class name and Doctrine inflector. |
| 131 | 131 | * |
| 132 | 132 | * @see Record::$table |
| 133 | - * @return mixed |
|
| 133 | + * @return string |
|
| 134 | 134 | */ |
| 135 | 135 | public function getTable() |
| 136 | 136 | { |
@@ -149,7 +149,7 @@ discard block |
||
| 149 | 149 | * Get database where record data should be stored in. Database alias must be resolved. |
| 150 | 150 | * |
| 151 | 151 | * @see Record::$database |
| 152 | - * @return mixed |
|
| 152 | + * @return string |
|
| 153 | 153 | */ |
| 154 | 154 | public function getDatabase() |
| 155 | 155 | { |
@@ -463,7 +463,7 @@ discard block |
||
| 463 | 463 | * @param AbstractColumn $column |
| 464 | 464 | * @param string $definition |
| 465 | 465 | * @param mixed $default Default value declared by record schema. |
| 466 | - * @return mixed |
|
| 466 | + * @return AbstractColumn |
|
| 467 | 467 | * @throws DefinitionException |
| 468 | 468 | * @throws \Spiral\Database\Exceptions\SchemaException |
| 469 | 469 | */ |
@@ -75,7 +75,7 @@ |
||
| 75 | 75 | * |
| 76 | 76 | * @param RecordInterface|string|int $lookup |
| 77 | 77 | * |
| 78 | - * @return true |
|
| 78 | + * @return boolean |
|
| 79 | 79 | */ |
| 80 | 80 | public function has($lookup) |
| 81 | 81 | { |
@@ -881,7 +881,7 @@ |
||
| 881 | 881 | * Parse single result row to generate data tree. Must pass parsing to evert nested loader. |
| 882 | 882 | * |
| 883 | 883 | * @param array $row |
| 884 | - * @return bool |
|
| 884 | + * @return boolean|null |
|
| 885 | 885 | */ |
| 886 | 886 | private function parseRow(array $row) |
| 887 | 887 | { |