phpstan and phpcs fixes

This commit is contained in:
Dennis Eichhorn 2022-03-29 16:41:16 +02:00
parent 0ccd43775d
commit 2b8cd4fe98
2 changed files with 14 additions and 7 deletions

View File

@ -10,7 +10,7 @@
"icon": null, "icon": null,
"order": 1, "order": 1,
"from": "Dashboard", "from": "Dashboard",
"permission": { "permission": 2, "type": null, "element": null }, "permission": { "permission": 2, "category": null, "element": null },
"parent": 1006901001, "parent": 1006901001,
"children": [] "children": []
} }

View File

@ -56,6 +56,13 @@ final class Installer extends InstallerAbstract
self::installDefault(); self::installDefault();
} }
/**
* Install default dashboard
*
* @return void
*
* @since 1.0.0
*/
private static function installDefault() : void private static function installDefault() : void
{ {
$board = new DashboardBoard(); $board = new DashboardBoard();