address Scrutinizer issues

This commit is contained in:
El RIDO 2021-06-13 12:43:18 +02:00
parent 078c5785dd
commit d0248d55d3
No known key found for this signature in database
GPG key ID: 0F5C940A6BD81F92
2 changed files with 4 additions and 4 deletions

View file

@ -291,7 +291,7 @@ class GoogleCloudStorage extends AbstractData
try {
$o = $this->_bucket->object($key);
$data = $o->downloadAsString();
return Json::decode($data);
return (string) Json::decode($data);
} catch (NotFoundException $e) {
return '';
}