From e27e3ace1637b2e03721396e0ab1509d2eaea87d Mon Sep 17 00:00:00 2001 From: El RIDO Date: Sat, 11 Jan 2025 20:37:50 +0100 Subject: [PATCH] fix google cloud sdk tests Adds new method required by interface since https://github.com/googleapis/google-cloud-php/pull/7966 --- tst/Bootstrap.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tst/Bootstrap.php b/tst/Bootstrap.php index 27ce7439..d1c4237d 100644 --- a/tst/Bootstrap.php +++ b/tst/Bootstrap.php @@ -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]; }