modify plugin name
This commit is contained in:
@@ -25,6 +25,7 @@ defined('PARAMS_IS_NULL') or define('PARAMS_IS_NULL', 'Required items cannot be
|
||||
defined('CONTROLLER_PATH') or define('CONTROLLER_PATH', realpath(APP_PATH . 'controllers/'));
|
||||
defined('MODEL_PATH') or define('MODEL_PATH', realpath(APP_PATH . 'models/'));
|
||||
defined('COMPONENT_PATH') or define('COMPONENT_PATH', realpath(APP_PATH . 'components/'));
|
||||
defined('URL_MATCH') or define('URL_MATCH', '/(http[s]?:\/\/)?((?:[\w\-_]+\.)+\w+(?::\d+)?)(?:(\/[a-zA-Z0-9-\/]+)+[\/]?(\?[a-zA-Z]+=.*)?)?/');
|
||||
|
||||
|
||||
/**
|
||||
|
||||
@@ -119,7 +119,7 @@ class File extends Component implements ICache
|
||||
* @param $key
|
||||
* @return mixed|bool
|
||||
*/
|
||||
public function get($key): string|bool
|
||||
public function get($key): mixed
|
||||
{
|
||||
$tmpFile = $this->getCacheKey($key);
|
||||
if (!$this->exists($tmpFile)) {
|
||||
|
||||
@@ -26,7 +26,7 @@ interface ICache
|
||||
* @param $key
|
||||
* @return string|int|bool
|
||||
*/
|
||||
public function get($key): string|int|bool;
|
||||
public function get($key): mixed;
|
||||
|
||||
/**
|
||||
* @param $key
|
||||
|
||||
Reference in New Issue
Block a user