modify plugin name

This commit is contained in:
2022-02-28 14:40:13 +08:00
parent 6e7fe74130
commit a465d2f489
-20
View File
@@ -917,26 +917,6 @@ if (!function_exists('interval')) {
}
if (!function_exists('duplicate')) {
/**
* @param string $className
* @return mixed
* @throws ReflectionException
*/
function duplicate(string $className): mixed
{
$class = di($className);
$clone = clone $class;
if (method_exists($clone, 'clear')) {
$clone->clear();
}
return $clone;
}
}
if (!function_exists('sweep')) {
/**