no more needed

master
Jean-Christian Paul Denis 2023-05-10 11:25:11 +02:00
parent 06606fa4c5
commit cbb966d700
Signed by: JcDenis
GPG Key ID: 1B5B8C5B90B6C951
1 changed files with 0 additions and 11 deletions

View File

@ -21,9 +21,6 @@ use dcCore;
*/ */
class My class My
{ {
/** @var string This module required php version */
public const PHP_MIN = '7.4';
/** /**
* This module id. * This module id.
*/ */
@ -49,12 +46,4 @@ class My
{ {
return dirname(__DIR__); return dirname(__DIR__);
} }
/**
* Check this module PHP version compliant.
*/
public static function phpCompliant(): bool
{
return version_compare(phpversion(), self::PHP_MIN, '>=');
}
} }