mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2025-04-01 18:45:36 -04:00
fix google cloud sdk tests
Adds new method required by interface since https://github.com/googleapis/google-cloud-php/pull/7966
This commit is contained in:
parent
c27c18faf9
commit
e27e3ace16
@ -924,11 +924,10 @@ class StorageClientStub extends StorageClient
|
||||
$this->_connection = new ConnectionInterfaceStub();
|
||||
}
|
||||
|
||||
public function bucket($name, $userProject = false)
|
||||
public function bucket($name, $userProject = false, array $config = array())
|
||||
{
|
||||
if (!key_exists($name, self::$_buckets)) {
|
||||
$b = new BucketStub($this->_connection, $name, array(), $this);
|
||||
self::$_buckets[$name] = $b;
|
||||
self::$_buckets[$name] = new BucketStub($this->_connection, $name, array(), $this);
|
||||
}
|
||||
return self::$_buckets[$name];
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user