mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2025-08-03 03:56:16 -04:00
address Scrutinizer issues
This commit is contained in:
parent
078c5785dd
commit
d0248d55d3
2 changed files with 4 additions and 4 deletions
|
@ -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 '';
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue