改名
This commit is contained in:
@@ -27,7 +27,7 @@ use Snowflake\Snowflake;
|
||||
#[Pure] public function __construct(public string|array $interceptor)
|
||||
{
|
||||
if (is_string($this->interceptor)) {
|
||||
$this->interceptor = [];
|
||||
$this->interceptor = [$this->interceptor];
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user