@@ -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 | { |
@@ -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 | { |
@@ -105,7 +105,7 @@ |
||
105 | 105 | } |
106 | 106 | |
107 | 107 | /** |
108 | - * @return SourceInterface |
|
108 | + * @return FilesInterface |
|
109 | 109 | */ |
110 | 110 | public function getSource() |
111 | 111 | { |
@@ -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 | { |
@@ -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 | { |
@@ -176,6 +176,7 @@ |
||
176 | 176 | |
177 | 177 | /** |
178 | 178 | * {@inheritdoc} |
179 | + * @param string $container |
|
179 | 180 | */ |
180 | 181 | public function loader($type, $container, array $definition, Loader $parent = null) |
181 | 182 | { |
@@ -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 | */ |