File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
system/Database/DataConverter Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -107,12 +107,12 @@ public function toDatabase(array $phpData): array
107
107
* Add ? at the beginning of $type (i.e. ?string) to get `null`
108
108
* instead of casting $value if ($value === null).
109
109
*
110
- * @param bool|float|int|string|null $value The value to convert
111
- * @param string $column The column name
112
- * @param string $method Allowed to "fromDatabase" and "toDatabase"
110
+ * @param mixed $value The value to convert
111
+ * @param string $column The column name
112
+ * @param string $method Allowed to "fromDatabase" and "toDatabase"
113
113
* @phpstan-param 'fromDatabase'|'toDatabase' $method
114
114
*
115
- * @return array|bool|float|int|object|string|null
115
+ * @return mixed
116
116
*/
117
117
protected function castAs ($ value , string $ column , string $ method = 'fromDatabase ' )
118
118
{
You can’t perform that action at this time.
0 commit comments