@@ -200,7 +200,7 @@ |
||
200 | 200 | * @param string $class Class to be used to represent PDOStatement. |
201 | 201 | * @param array $args Class construction arguments, by default array of parameters. |
202 | 202 | * |
203 | - * @return ResultInterface|\PDOStatement|PDOQuery |
|
203 | + * @return PDOQuery |
|
204 | 204 | */ |
205 | 205 | public function query($query, array $parameters = [], $class = null, array $args = []) |
206 | 206 | { |
@@ -492,7 +492,7 @@ discard block |
||
492 | 492 | /** |
493 | 493 | * {@inheritdoc} |
494 | 494 | * |
495 | - * @return DocumentEntity[] |
|
495 | + * @return \ArrayIterator |
|
496 | 496 | */ |
497 | 497 | public function getIterator() |
498 | 498 | { |
@@ -588,7 +588,7 @@ discard block |
||
588 | 588 | * Example: |
589 | 589 | * $user->cards->findOne(['active' => true]); |
590 | 590 | * |
591 | - * @param array|DocumentEntity $query |
|
591 | + * @param DocumentEntity $query |
|
592 | 592 | * |
593 | 593 | * @return null|DocumentEntity |
594 | 594 | */ |
@@ -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 | { |
@@ -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 | { |
@@ -42,7 +42,7 @@ discard block |
||
42 | 42 | * @param array|\Closure $where Selection WHERE statement. |
43 | 43 | * @param array $load Array or relations to be pre-loaded. |
44 | 44 | * @param array $orderBy Sort by conditions. |
45 | - * @return RecordEntity|null |
|
45 | + * @return null|\Spiral\ORM\RecordInterface |
|
46 | 46 | */ |
47 | 47 | public static function findOne($where = [], array $load = [], array $orderBy = []) |
48 | 48 | { |
@@ -62,7 +62,7 @@ discard block |
||
62 | 62 | * |
63 | 63 | * @param mixed $primaryKey Primary key. |
64 | 64 | * @param array $load Array or relations to be pre-loaded. |
65 | - * @return RecordEntity|null |
|
65 | + * @return null|\Spiral\ORM\RecordInterface |
|
66 | 66 | */ |
67 | 67 | public static function findByPK($primaryKey, array $load = []) |
68 | 68 | { |
@@ -253,6 +253,7 @@ |
||
253 | 253 | |
254 | 254 | /** |
255 | 255 | * {@inheritdoc} |
256 | + * @param string $container |
|
256 | 257 | */ |
257 | 258 | public function loader($type, $container, array $definition, Loader $parent = null) |
258 | 259 | { |