harmonize My class

This commit is contained in:
Jean-Christian Paul Denis 2023-05-08 10:26:31 +02:00
parent abf62feb50
commit 9466be24ff
Signed by: JcDenis
GPG Key ID: 1B5B8C5B90B6C951

View File

@ -17,7 +17,7 @@ namespace Dotclear\Plugin\dcAdvancedCleaner;
use dcCore;
/**
* Plugin definitions
* This module definitions.
*/
class My
{
@ -25,15 +25,16 @@ class My
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
{