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
107107 * Add ? at the beginning of $type (i.e. ?string) to get `null`
108108 * instead of casting $value if ($value === null).
109109 *
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"
113113 * @phpstan-param 'fromDatabase'|'toDatabase' $method
114114 *
115- * @return array|bool|float|int|object|string|null
115+ * @return mixed
116116 */
117117 protected function castAs ($ value , string $ column , string $ method = 'fromDatabase ' )
118118 {
You can’t perform that action at this time.
0 commit comments