This commit is contained in:
2021-02-22 19:07:34 +08:00
parent 491cfd38ff
commit 0467e3905a
2 changed files with 17 additions and 12 deletions
+2 -1
View File
@@ -11,6 +11,7 @@ namespace Snowflake\Abstracts;
use Exception;
use JetBrains\PhpStorm\Pure;
use Snowflake\Error\Logger;
use Snowflake\Snowflake;
@@ -45,7 +46,7 @@ class BaseObject implements Configure
/**
* @return string
*/
public static function className(): string
#[Pure] public static function className(): string
{
return get_called_class();
}