@@ -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 | { |