From 1f6b962468991eb2cb260389f598249cd61e8214 Mon Sep 17 00:00:00 2001 From: El RIDO Date: Thu, 7 Oct 2021 22:24:30 +0200 Subject: [PATCH] phpunit compatibility --- tst/ControllerWithGcsTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tst/ControllerWithGcsTest.php b/tst/ControllerWithGcsTest.php index 39833417..9921d106 100644 --- a/tst/ControllerWithGcsTest.php +++ b/tst/ControllerWithGcsTest.php @@ -14,7 +14,7 @@ class ControllerWithGcsTest extends ControllerTest private static $_bucket; private $_options = array(); - public static function setUpBeforeClass() + public static function setUpBeforeClass(): void { $httpClient = new Client(array('debug'=>false)); $handler = HttpHandlerFactory::build($httpClient); @@ -28,7 +28,7 @@ class ControllerWithGcsTest extends ControllerTest self::$_bucket = self::$_client->createBucket($name); } - public function setUp() + public function setUp(): void { /* Setup Routine */ $this->_path = sys_get_temp_dir() . DIRECTORY_SEPARATOR . 'privatebin_data';