]> git.mxchange.org Git - friendica.git/commitdiff
Wrong returned type, has to be array
authorRoland Häder <roland@mxchange.org>
Sun, 19 Jun 2022 00:39:51 +0000 (02:39 +0200)
committerRoland Häder <roland@mxchange.org>
Sun, 19 Jun 2022 00:40:07 +0000 (02:40 +0200)
src/Database/DBStructure.php

index 0b2cd3420a3aa9647784c4abad6b7e73375b70e6..0e9ec79e5d7c80765e88f36b2ee3fd64076c4677 100644 (file)
@@ -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)) {