no more needed
This commit is contained in:
parent
2dbc74d1dc
commit
1369a30d03
11
src/My.php
11
src/My.php
@ -24,9 +24,6 @@ class My
|
||||
/** @var string This module meta type */
|
||||
public const META_TYPE = 'post_expired';
|
||||
|
||||
/** @var string This module required php version */
|
||||
public const PHP_MIN = '7.4';
|
||||
|
||||
/**
|
||||
* This module id.
|
||||
*/
|
||||
@ -53,14 +50,6 @@ class My
|
||||
return dirname(__DIR__);
|
||||
}
|
||||
|
||||
/**
|
||||
* Check this module PHP version compliant.
|
||||
*/
|
||||
public static function phpCompliant(): bool
|
||||
{
|
||||
return version_compare(phpversion(), self::PHP_MIN, '>=');
|
||||
}
|
||||
|
||||
/**
|
||||
* Encode Expired Date settings.
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user