Skip to content

Commit

Permalink
feat: update Site.module.php stub
Browse files Browse the repository at this point in the history
  • Loading branch information
BernhardBaumrock committed Jan 28, 2024
1 parent e232a33 commit 89ee09b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions stubs/SiteModule.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public static function getModuleInfo()
'singular' => true,
'icon' => 'bolt',
'requires' => [
'RockMigrations>=2.0.10',
'RockMigrations>=3.34',
],
];
}
Expand All @@ -40,7 +40,6 @@ public function init()

public function migrate()
{
/** @var RockMigrations $rm */
$rm = $this->wire->modules->get('RockMigrations');
$rm = rockmigrations();
}
}

0 comments on commit 89ee09b

Please sign in to comment.