harmonize My class

This commit is contained in:
Jean-Christian Paul Denis 2023-05-08 10:22:12 +02:00
parent a1e268da75
commit 5afc035872
Signed by: JcDenis
GPG Key ID: 1B5B8C5B90B6C951

View File

@ -17,13 +17,10 @@ namespace Dotclear\Plugin\zoneclearFeedServer;
use dcCore; use dcCore;
/** /**
* Module definitions. * This module definitions.
*/ */
class My class My
{ {
/** @var string This module required php version */
public const PHP_MIN = '8.1';
/** @var string This module database table name */ /** @var string This module database table name */
public const TABLE_NAME = 'zc_feed'; public const TABLE_NAME = 'zc_feed';
@ -58,8 +55,11 @@ class My
'FeedFeedURL', 'FeedFeedURL',
]; ];
/** @var string This module required php version */
public const PHP_MIN = '8.1';
/** /**
* @return string This module id * This module id.
*/ */
public static function id(): string public static function id(): string
{ {
@ -67,7 +67,7 @@ class My
} }
/** /**
* @return string This module name * This module name.
*/ */
public static function name(): string public static function name(): string
{ {
@ -77,7 +77,7 @@ class My
} }
/** /**
* @return string This module path * This module path.
*/ */
public static function path(): string public static function path(): string
{ {
@ -85,7 +85,7 @@ class My
} }
/** /**
* @return bool True on this module php version complied * Check this module PHP version compliant.
*/ */
public static function phpCompliant(): bool public static function phpCompliant(): bool
{ {