mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2026-04-18 21:48:24 -04:00
address Scrutinizer issues
This commit is contained in:
@@ -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 '';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user