From 9466be24ff67af13d452c7e62afcbb7be9c92569 Mon Sep 17 00:00:00 2001 From: Jean-Christian Denis Date: Mon, 8 May 2023 10:26:31 +0200 Subject: [PATCH] harmonize My class --- src/My.php | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/src/My.php b/src/My.php index 0f1fb77..8caea78 100644 --- a/src/My.php +++ b/src/My.php @@ -17,23 +17,24 @@ namespace Dotclear\Plugin\dcAdvancedCleaner; use dcCore; /** - * Plugin definitions + * This module definitions. */ class My { - /** @var string Required php version */ + /** @var string Required php version */ public const PHP_MIN = '8.1'; /** - * This module id + * This module id. */ public static function id(): string { return basename(dirname(__DIR__)); } + /** - * This module name + * This module name. */ public static function name(): string { @@ -43,15 +44,15 @@ class My } /** - * This plugin root + * This module path. */ - public static function root(): string + public static function path(): string { return dirname(__DIR__); } /** - * Check php version + * Check this module PHP version compliant. */ public static function phpCompliant(): bool {