내특을 int에서 string으로 변경
This commit is contained in:
@@ -451,4 +451,10 @@ class Util extends \utilphp\util
|
||||
{
|
||||
return $items[array_rand($items)];
|
||||
}
|
||||
|
||||
function getClassName(string $classpath)
|
||||
{
|
||||
if ($pos = strrpos($classpath, '\\')) return substr($classpath, $pos + 1);
|
||||
return $pos;
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user