내특을 int에서 string으로 변경
This commit is contained in:
1 parent
9c15dbd673
commit
1529913ae4
24 files changed
+133
-126
No files matched your search
@@ -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