@@ -36,7 +36,7 @@ |
||
36 | 36 | /** |
37 | 37 | * Run the query and return the first value. |
38 | 38 | * |
39 | - * @return Row|null |
|
39 | + * @return \SimpleCrud\Row|null |
|
40 | 40 | */ |
41 | 41 | public function get() |
42 | 42 | { |
@@ -67,7 +67,7 @@ discard block |
||
67 | 67 | * |
68 | 68 | * @throws SimpleCrudException |
69 | 69 | * |
70 | - * @return QueryInterface|null |
|
70 | + * @return FieldInterface |
|
71 | 71 | */ |
72 | 72 | public function __call($name, $arguments) |
73 | 73 | { |
@@ -152,7 +152,7 @@ discard block |
||
152 | 152 | * |
153 | 153 | * @param string $name |
154 | 154 | * |
155 | - * @return null|mixed |
|
155 | + * @return string |
|
156 | 156 | */ |
157 | 157 | public function getAttribute($name) |
158 | 158 | { |
@@ -309,7 +309,7 @@ discard block |
||
309 | 309 | /** |
310 | 310 | * Returns the relation type of this entity with other. |
311 | 311 | * |
312 | - * @param Entity|string $entity |
|
312 | + * @param string $entity |
|
313 | 313 | * |
314 | 314 | * @return null|int |
315 | 315 | */ |