no more needed
This commit is contained in:
parent
3323a00994
commit
e42a2f9708
11
src/My.php
11
src/My.php
@ -24,9 +24,6 @@ class My
|
||||
/** @var string Plugin table name */
|
||||
public const ALIAS_TABLE_NAME = 'alias';
|
||||
|
||||
/** @var string Required php version */
|
||||
public const PHP_MIN = '7.4';
|
||||
|
||||
/**
|
||||
* This module id.
|
||||
*/
|
||||
@ -52,12 +49,4 @@ class My
|
||||
{
|
||||
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