Wrong returned type, has to be array

This commit is contained in:
Roland Häder 2022-06-19 02:39:51 +02:00
parent 7bb0cb5323
commit b6bfe72083
Signed by: roland
GPG key ID: C82EDE5DDFA0BA77

View 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)) {