Wrong returned type, has to be array
This commit is contained in:
parent
7bb0cb5323
commit
b6bfe72083
|
@ -292,7 +292,7 @@ class DBStructure
|
||||||
* @return array
|
* @return array
|
||||||
* @throws Exception
|
* @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 (!self::$definition) {
|
||||||
if (empty($basePath)) {
|
if (empty($basePath)) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user