From b6bfe720839d6eaaf0d858483459d4e82e5680bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roland=20H=C3=A4der?= Date: Sun, 19 Jun 2022 02:39:51 +0200 Subject: [PATCH] Wrong returned type, has to be array --- src/Database/DBStructure.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Database/DBStructure.php b/src/Database/DBStructure.php index 0b2cd3420..0e9ec79e5 100644 --- a/src/Database/DBStructure.php +++ b/src/Database/DBStructure.php @@ -292,7 +292,7 @@ class DBStructure * @return array * @throws Exception */ - public static function definition(string $basePath, bool $with_addons_structure = true): string + public static function definition(string $basePath, bool $with_addons_structure = true): array { if (!self::$definition) { if (empty($basePath)) {