@@ -58,7 +58,7 @@ discard block |
||
58 | 58 | /** |
59 | 59 | * Set headers to send. |
60 | 60 | * |
61 | - * @param mixed $header |
|
61 | + * @param string $header |
|
62 | 62 | */ |
63 | 63 | public function setHeader($header) |
64 | 64 | { |
@@ -79,7 +79,7 @@ discard block |
||
79 | 79 | /** |
80 | 80 | * Set emit type. |
81 | 81 | * |
82 | - * @param mixed $type |
|
82 | + * @param integer $type |
|
83 | 83 | */ |
84 | 84 | public function setEmitType($type) |
85 | 85 | { |
@@ -105,8 +105,8 @@ discard block |
||
105 | 105 | /** |
106 | 106 | * Set error data to send. |
107 | 107 | * |
108 | - * @param mixed $code |
|
109 | - * @param mixed|null $message |
|
108 | + * @param integer $code |
|
109 | + * @param string $message |
|
110 | 110 | * @param mixed $trace |
111 | 111 | * |
112 | 112 | * @return void |
@@ -126,7 +126,7 @@ discard block |
||
126 | 126 | /** |
127 | 127 | * Set exception error to send. |
128 | 128 | * |
129 | - * @param Throwable $e |
|
129 | + * @param \Throwable $e |
|
130 | 130 | * |
131 | 131 | * @return void |
132 | 132 | */ |
@@ -43,7 +43,7 @@ discard block |
||
43 | 43 | /** |
44 | 44 | * Function to get the view value. |
45 | 45 | * |
46 | - * @return string |
|
46 | + * @return boolean |
|
47 | 47 | */ |
48 | 48 | public function setIsNewRecord() |
49 | 49 | { |
@@ -55,7 +55,7 @@ discard block |
||
55 | 55 | * |
56 | 56 | * @param string $value |
57 | 57 | * |
58 | - * @return Field |
|
58 | + * @return BaseField |
|
59 | 59 | */ |
60 | 60 | public function setDisplayValue($value): self |
61 | 61 | { |
@@ -68,7 +68,7 @@ discard block |
||
68 | 68 | * |
69 | 69 | * @param string $value |
70 | 70 | * |
71 | - * @return \self |
|
71 | + * @return BaseField |
|
72 | 72 | */ |
73 | 73 | public function setModuleName($value) |
74 | 74 | { |
@@ -227,7 +227,7 @@ discard block |
||
227 | 227 | /** |
228 | 228 | * Function to get the raw value. |
229 | 229 | * |
230 | - * @return mixed for the given key |
|
230 | + * @return string for the given key |
|
231 | 231 | */ |
232 | 232 | public function getRawValue() |
233 | 233 | { |
@@ -242,7 +242,7 @@ discard block |
||
242 | 242 | * |
243 | 243 | * @param string $value |
244 | 244 | * |
245 | - * @return Field |
|
245 | + * @return BaseField |
|
246 | 246 | */ |
247 | 247 | public function setRawValue($value) |
248 | 248 | { |
@@ -253,7 +253,7 @@ discard block |
||
253 | 253 | /** |
254 | 254 | * Validator. |
255 | 255 | * |
256 | - * @return mixed |
|
256 | + * @return string |
|
257 | 257 | */ |
258 | 258 | public function getValidator() |
259 | 259 | { |
@@ -309,9 +309,8 @@ discard block |
||
309 | 309 | /** |
310 | 310 | * Gets value to edit. |
311 | 311 | * |
312 | - * @param mixed $value |
|
313 | 312 | * |
314 | - * @return mixed |
|
313 | + * @return string |
|
315 | 314 | */ |
316 | 315 | public function getEditViewDisplayValue() |
317 | 316 | { |
@@ -181,7 +181,7 @@ discard block |
||
181 | 181 | * |
182 | 182 | * @param array $rawData |
183 | 183 | * |
184 | - * @return void |
|
184 | + * @return Record |
|
185 | 185 | */ |
186 | 186 | public function setRawData(array $rawData) |
187 | 187 | { |
@@ -205,7 +205,7 @@ discard block |
||
205 | 205 | * Function to set the raw value for a given key. |
206 | 206 | * |
207 | 207 | * @param string $key |
208 | - * @param mixed $value |
|
208 | + * @param integer $value |
|
209 | 209 | * |
210 | 210 | * @return self |
211 | 211 | */ |
@@ -220,7 +220,7 @@ discard block |
||
220 | 220 | * |
221 | 221 | * @param string $moduleName |
222 | 222 | * |
223 | - * @return \self |
|
223 | + * @return Record |
|
224 | 224 | */ |
225 | 225 | public function setModuleName(string $moduleName): self |
226 | 226 | { |