@@ -50,7 +50,7 @@ discard block |
||
50 | 50 | /** |
51 | 51 | * Function to get the view value. |
52 | 52 | * |
53 | - * @return string |
|
53 | + * @return boolean |
|
54 | 54 | */ |
55 | 55 | public function setIsNewRecord() |
56 | 56 | { |
@@ -62,7 +62,7 @@ discard block |
||
62 | 62 | * |
63 | 63 | * @param string $value |
64 | 64 | * |
65 | - * @return Field |
|
65 | + * @return BaseField |
|
66 | 66 | */ |
67 | 67 | public function setDisplayValue($value): self |
68 | 68 | { |
@@ -75,7 +75,7 @@ discard block |
||
75 | 75 | * |
76 | 76 | * @param string $value |
77 | 77 | * |
78 | - * @return \self |
|
78 | + * @return BaseField |
|
79 | 79 | */ |
80 | 80 | public function setModuleName($value) |
81 | 81 | { |
@@ -249,7 +249,7 @@ discard block |
||
249 | 249 | * |
250 | 250 | * @param string $value |
251 | 251 | * |
252 | - * @return Field |
|
252 | + * @return BaseField |
|
253 | 253 | */ |
254 | 254 | public function setRawValue($value) |
255 | 255 | { |
@@ -260,7 +260,7 @@ discard block |
||
260 | 260 | /** |
261 | 261 | * Validator. |
262 | 262 | * |
263 | - * @return mixed |
|
263 | + * @return string |
|
264 | 264 | */ |
265 | 265 | public function getValidator() |
266 | 266 | { |
@@ -326,10 +326,9 @@ discard block |
||
326 | 326 | /** |
327 | 327 | * Gets value to edit. |
328 | 328 | * |
329 | - * @param mixed $value |
|
330 | 329 | * @param \YF\Modules\Base\Model\Record|null $recordModel |
331 | 330 | * |
332 | - * @return mixed |
|
331 | + * @return string |
|
333 | 332 | */ |
334 | 333 | public function getEditViewDisplayValue(\YF\Modules\Base\Model\Record $recordModel = null) |
335 | 334 | { |
@@ -172,7 +172,7 @@ discard block |
||
172 | 172 | * |
173 | 173 | * @param string $key |
174 | 174 | * |
175 | - * @return mixed |
|
175 | + * @return string |
|
176 | 176 | */ |
177 | 177 | public function getRawValue(string $key) |
178 | 178 | { |
@@ -183,7 +183,7 @@ discard block |
||
183 | 183 | * Function to set the raw value for a given key. |
184 | 184 | * |
185 | 185 | * @param string $key |
186 | - * @param mixed $value |
|
186 | + * @param integer $value |
|
187 | 187 | * |
188 | 188 | * @return self |
189 | 189 | */ |
@@ -285,7 +285,7 @@ discard block |
||
285 | 285 | * |
286 | 286 | * @param string $moduleName |
287 | 287 | * |
288 | - * @return \self |
|
288 | + * @return Record |
|
289 | 289 | */ |
290 | 290 | public function setModuleName(string $moduleName): self |
291 | 291 | { |