diff --git a/Admin/Installer.php b/Admin/Installer.php index 92ab2d9..1ef7bd5 100755 --- a/Admin/Installer.php +++ b/Admin/Installer.php @@ -14,8 +14,6 @@ declare(strict_types=1); namespace Modules\Tag\Admin; -use Modules\Admin\Models\AccountMapper; -use Modules\Admin\Models\NullAccount; use phpOMS\Application\ApplicationAbstract; use phpOMS\Config\SettingsInterface; use phpOMS\Message\Http\HttpRequest; @@ -42,14 +40,6 @@ final class Installer extends InstallerAbstract */ public const PATH = __DIR__; - /** - * {@inheritdoc} - */ - public static function install(ApplicationAbstract $app, ModuleInfo $info, SettingsInterface $cfgHandler) : void - { - parent::install($app, $info, $cfgHandler); - } - /** * Install data from providing modules. * @@ -77,7 +67,7 @@ final class Installer extends InstallerAbstract } $tagData = \json_decode($tagFile, true) ?? []; - if ($tagData === false) { + if (!\is_array($tagData)) { throw new \Exception(); // @codeCoverageIgnore } diff --git a/Docs/Dev/en/structure.md b/Docs/Dev/en/structure.md deleted file mode 100755 index 28d4ca8..0000000 --- a/Docs/Dev/en/structure.md +++ /dev/null @@ -1,5 +0,0 @@ -# Structure - -## ER - -![ER](Modules/Tag/Docs/Dev/img/er.png) \ No newline at end of file diff --git a/Docs/Dev/img/er.png b/Docs/Dev/img/er.png deleted file mode 100644 index 2e33fc0..0000000 Binary files a/Docs/Dev/img/er.png and /dev/null differ diff --git a/Docs/Help/en/SUMMARY.md b/Docs/Help/en/SUMMARY.md deleted file mode 100755 index fd75f17..0000000 --- a/Docs/Help/en/SUMMARY.md +++ /dev/null @@ -1,4 +0,0 @@ -# User Content - -* [Templates]({%}&page=Help/templates) -* [Reports]({%}&page=Help/reports) diff --git a/Models/TagMapper.php b/Models/TagMapper.php index e65dbee..72a2580 100755 --- a/Models/TagMapper.php +++ b/Models/TagMapper.php @@ -37,7 +37,7 @@ final class TagMapper extends DataMapperFactory */ public const COLUMNS = [ 'tag_id' => ['name' => 'tag_id', 'type' => 'int', 'internal' => 'id'], - 'tag_name' => ['name' => 'tag_name', 'type' => 'string', 'internal' => 'name'], + 'tag_name' => ['name' => 'tag_name', 'type' => 'string', 'internal' => 'name'], 'tag_color' => ['name' => 'tag_color', 'type' => 'string', 'internal' => 'color'], 'tag_icon' => ['name' => 'tag_icon', 'type' => 'string', 'internal' => 'icon'], 'tag_type' => ['name' => 'tag_type', 'type' => 'int', 'internal' => 'type'], diff --git a/Theme/Backend/Lang/de.lang.php b/Theme/Backend/Lang/de.lang.php index 073fb70..1e1cbbd 100755 --- a/Theme/Backend/Lang/de.lang.php +++ b/Theme/Backend/Lang/de.lang.php @@ -13,13 +13,13 @@ declare(strict_types=1); return ['Tag' => [ - 'Color' => 'Farbe', - 'Create' => 'Erstellen', - 'Icon' => 'Symbol', - 'Language' => 'Sprache', - 'List' => 'Liste', - 'Tag' => 'Stichwort', - 'Tags' => 'Stichworte', - 'Title' => 'Titel', - 'InternalName' => 'Interner Name', + 'Color' => 'Farbe', + 'Create' => 'Erstellen', + 'Icon' => 'Symbol', + 'Language' => 'Sprache', + 'List' => 'Liste', + 'Tag' => 'Stichwort', + 'Tags' => 'Stichworte', + 'Title' => 'Titel', + 'InternalName' => 'Interner Name', ]]; diff --git a/Theme/Backend/Lang/en.lang.php b/Theme/Backend/Lang/en.lang.php index 1719a46..b8d8683 100755 --- a/Theme/Backend/Lang/en.lang.php +++ b/Theme/Backend/Lang/en.lang.php @@ -13,13 +13,13 @@ declare(strict_types=1); return ['Tag' => [ - 'Color' => 'Color', - 'Create' => 'Create', - 'Icon' => 'Icon', - 'Language' => 'Language', - 'List' => 'List', - 'Tag' => 'Tag', - 'Tags' => 'Tags', - 'Title' => 'Title', - 'InternalName' => 'Internal Name', + 'Color' => 'Color', + 'Create' => 'Create', + 'Icon' => 'Icon', + 'Language' => 'Language', + 'List' => 'List', + 'Tag' => 'Tag', + 'Tags' => 'Tags', + 'Title' => 'Title', + 'InternalName' => 'Internal Name', ]]; diff --git a/info.json b/info.json index b82c007..7a0973e 100755 --- a/info.json +++ b/info.json @@ -12,7 +12,7 @@ }, "creator": { "name": "Jingga", - "website": "jingga.app" + "website": "https://jingga.app" }, "description": "Tag module.", "directory": "Tag",