Skip to content

Commit 281bce6

Browse files
committed
fix
1 parent 6864e7f commit 281bce6

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

inc/container.class.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,13 @@ public static function installBaseData(Migration $migration, $version)
148148
}
149149

150150
// Get itemtypes from PluginGenericobject
151+
// @phpstan-ignore-next-line
151152
$hack = new class ($DB) extends \Glpi\Migration\GenericobjectPluginMigration {
153+
public function __construct($db)
154+
{
155+
parent::__construct($db);
156+
}
157+
152158
public function runValidatePrerequisites()
153159
{
154160
return $this->validatePrerequisites();

0 commit comments

Comments
 (0)