add cast on FileInformation::getAttributes
This commit is contained in:
parent
b344831a39
commit
4a66790fe5
|
@ -36,7 +36,7 @@ class FileInformation implements EntityInterface
|
||||||
|
|
||||||
public function getAttributes()
|
public function getAttributes()
|
||||||
{
|
{
|
||||||
return json_decode($this->attributes, true);
|
return (array) json_decode($this->attributes, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setAttributes($attributes): self
|
public function setAttributes($attributes): self
|
||||||
|
|
Loading…
Reference in a new issue