@@ -257,7 +257,7 @@ |
||
257 | 257 | /** |
258 | 258 | * {@inheritdoc} |
259 | 259 | * |
260 | - * @return DocumentCursor|Document[] |
|
260 | + * @return DocumentCursor |
|
261 | 261 | */ |
262 | 262 | public function getIterator() |
263 | 263 | { |
@@ -457,7 +457,7 @@ discard block |
||
457 | 457 | * |
458 | 458 | * @see findOne() |
459 | 459 | * @param mixed $id Primary key value. |
460 | - * @return RecordEntity|null |
|
460 | + * @return null|RecordInterface |
|
461 | 461 | * @throws SelectorException |
462 | 462 | */ |
463 | 463 | public function findByPK($id) |
@@ -482,7 +482,7 @@ discard block |
||
482 | 482 | * @see findByPK() |
483 | 483 | * @param array $where Selection WHERE statement. |
484 | 484 | * @param bool $setLimit Use limit 1. |
485 | - * @return RecordEntity|null |
|
485 | + * @return null|RecordInterface |
|
486 | 486 | */ |
487 | 487 | public function findOne(array $where = [], $setLimit = true) |
488 | 488 | { |
@@ -162,7 +162,7 @@ |
||
162 | 162 | * @param array $directories |
163 | 163 | * @param array $exclude |
164 | 164 | * @param Finder $finder |
165 | - * @return ClassLocator |
|
165 | + * @return InvocationLocator |
|
166 | 166 | */ |
167 | 167 | public function invocationLocator( |
168 | 168 | array $directories = [], |
@@ -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 |
@@ -335,7 +335,7 @@ discard block |
||
335 | 335 | * Perform iterator on pre-loaded data. Use relation selector to iterate thought custom relation |
336 | 336 | * query. |
337 | 337 | * |
338 | - * @return RecordEntity|RecordEntity[]|RecordIterator |
|
338 | + * @return null|EntityInterface |
|
339 | 339 | */ |
340 | 340 | public function getIterator() |
341 | 341 | { |
@@ -465,7 +465,7 @@ discard block |
||
465 | 465 | * |
466 | 466 | * @param EntityInterface $entity |
467 | 467 | * @param bool $validate |
468 | - * @return bool|void |
|
468 | + * @return boolean |
|
469 | 469 | */ |
470 | 470 | private function saveEntity(EntityInterface $entity, $validate) |
471 | 471 | { |
@@ -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 | { |