aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib/DB/ConnectionFactoryTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/DB/ConnectionFactoryTest.php')
-rw-r--r--tests/lib/DB/ConnectionFactoryTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/DB/ConnectionFactoryTest.php b/tests/lib/DB/ConnectionFactoryTest.php
index 23bde34a8fb..31dd8037964 100644
--- a/tests/lib/DB/ConnectionFactoryTest.php
+++ b/tests/lib/DB/ConnectionFactoryTest.php
@@ -12,7 +12,7 @@ use OCP\ICacheFactory;
use Test\TestCase;
class ConnectionFactoryTest extends TestCase {
- public function splitHostFromPortAndSocketData() {
+ public static function splitHostFromPortAndSocketData(): array {
return [
['127.0.0.1', ['host' => '127.0.0.1']],
['db.example.org', ['host' => 'db.example.org']],