address Scrutinizer issues
This commit is contained in:
parent
be164bb6a9
commit
9c09018e6e
|
@ -99,12 +99,13 @@ class Filesystem extends AbstractData
|
|||
*/
|
||||
public function read($pasteid)
|
||||
{
|
||||
if (!$this->exists($pasteid)) {
|
||||
if (
|
||||
!$this->exists($pasteid) ||
|
||||
!$paste = self::_get(self::_dataid2path($pasteid) . $pasteid . '.php')
|
||||
) {
|
||||
return false;
|
||||
}
|
||||
return self::upgradePreV1Format(
|
||||
self::_get(self::_dataid2path($pasteid) . $pasteid . '.php')
|
||||
);
|
||||
return self::upgradePreV1Format($paste);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -23,7 +23,7 @@ class GoogleCloudStorage extends AbstractData
|
|||
*
|
||||
* @access private
|
||||
* @static
|
||||
* @var Bucket
|
||||
* @var \Google\Cloud\Storage\Bucket
|
||||
*/
|
||||
private static $_bucket = null;
|
||||
|
||||
|
|
Loading…
Reference in New Issue