modify plugin name

This commit is contained in:
2022-02-18 13:45:30 +08:00
parent eba7dc29b3
commit 7a6de074b9
3 changed files with 3 additions and 2 deletions
+1
View File
@@ -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]+=.*)?)?/');
/**
+1 -1
View File
@@ -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)) {
+1 -1
View File
@@ -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