BaseEntity: array to string
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user