@@ -33,7 +33,7 @@ discard block |
||
33 | 33 | /** |
34 | 34 | * New instance of ReflectionArgument. |
35 | 35 | * |
36 | - * @param mixed $type |
|
36 | + * @param string $type |
|
37 | 37 | * @param mixed $value |
38 | 38 | */ |
39 | 39 | public function __construct($type, $value) |
@@ -43,7 +43,7 @@ discard block |
||
43 | 43 | } |
44 | 44 | |
45 | 45 | /** |
46 | - * @return mixed |
|
46 | + * @return integer |
|
47 | 47 | */ |
48 | 48 | public function getType() |
49 | 49 | { |
@@ -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 | { |
@@ -28,7 +28,7 @@ discard block |
||
28 | 28 | * Get instance of container associated with given object, uses global container as fallback |
29 | 29 | * if not. Method generally used by traits. |
30 | 30 | * |
31 | - * @return ContainerInterface|null |
|
31 | + * @return ContainerInterface |
|
32 | 32 | */ |
33 | 33 | protected function container() |
34 | 34 | { |
@@ -50,7 +50,7 @@ discard block |
||
50 | 50 | * |
51 | 51 | * @internal Do not use for business logic. |
52 | 52 | * @param ContainerInterface $container Can be set to null. |
53 | - * @return ContainerInterface|null |
|
53 | + * @return ContainerInterface |
|
54 | 54 | */ |
55 | 55 | final protected static function staticContainer(ContainerInterface $container = null) |
56 | 56 | { |
@@ -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 | { |
@@ -42,7 +42,7 @@ |
||
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 | { |
@@ -126,7 +126,7 @@ |
||
126 | 126 | * |
127 | 127 | * @param array $columns Array of columns. |
128 | 128 | * @param array $rowsets Array of rowsets. |
129 | - * @return mixed |
|
129 | + * @return integer |
|
130 | 130 | */ |
131 | 131 | public function batchInsert(array $columns = [], array $rowsets = []) |
132 | 132 | { |
@@ -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 = [], |