BaseEntity: array to string

This commit is contained in:
Yuri Kuznetsov
2024-10-05 10:17:46 +03:00
parent dbaf3acaa3
commit f3c7fa51ac
+6
View File
@@ -507,6 +507,12 @@ class BaseEntity implements Entity
return 'Object';
}
if (is_array($value)) {
// Prevents an error.
// @todo Remove in v10.0.
return 'Array';
}
return strval($value);
case self::BOOL: