mirror of
https://github.com/Karaka-Management/oms-Tag.git
synced 2026-01-11 07:38:41 +00:00
bug fixes with unit testing
This commit is contained in:
parent
40d281ae86
commit
6a7037f923
|
|
@ -15,7 +15,11 @@ declare(strict_types=1);
|
|||
namespace Modules\Tag\Admin;
|
||||
|
||||
use phpOMS\Module\InstallerAbstract;
|
||||
use phpOMS\DataStorage\Database\DatabasePool;
|
||||
use phpOMS\Config\SettingsInterface;
|
||||
use phpOMS\Module\ModuleInfo;
|
||||
use Model\Setting;
|
||||
use Model\SettingMApper;
|
||||
|
||||
/**
|
||||
* Installer class.
|
||||
|
|
@ -37,6 +41,14 @@ final class Installer extends InstallerAbstract
|
|||
self::installDefaultColors($info, $cfgHandler);
|
||||
}
|
||||
|
||||
/**
|
||||
* Installing default tag colors
|
||||
*
|
||||
* @param ModuleInfo $info Module information
|
||||
* @param SettingsInterface $cfgHandler Config handler
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
private static function installDefaultColors(ModuleInfo $info, SettingsInterface $cfgHandler) : void
|
||||
{
|
||||
$setting = new Setting();
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user