no more needed
This commit is contained in:
parent
550a72b88d
commit
319db1c199
11
src/My.php
11
src/My.php
@ -21,9 +21,6 @@ use dcCore;
|
|||||||
*/
|
*/
|
||||||
class My extends \initFilesAlias
|
class My extends \initFilesAlias
|
||||||
{
|
{
|
||||||
/** @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 extends \initFilesAlias
|
|||||||
{
|
{
|
||||||
return dirname(__DIR__);
|
return dirname(__DIR__);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Check this module PHP version compliant.
|
|
||||||
*/
|
|
||||||
public static function phpCompliant(): bool
|
|
||||||
{
|
|
||||||
return version_compare(phpversion(), self::PHP_MIN, '>=');
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user