改名
This commit is contained in:
@@ -24,10 +24,6 @@ use Snowflake\Snowflake;
|
|||||||
*/
|
*/
|
||||||
public function __construct(public string|array $after)
|
public function __construct(public string|array $after)
|
||||||
{
|
{
|
||||||
if (!is_string($this->after)) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
$this->after = [$this->after];
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -24,10 +24,6 @@ use Snowflake\Snowflake;
|
|||||||
*/
|
*/
|
||||||
public function __construct(public string|array $interceptor)
|
public function __construct(public string|array $interceptor)
|
||||||
{
|
{
|
||||||
if (!is_string($this->interceptor)) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
$this->interceptor = [$this->interceptor];
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -24,10 +24,6 @@ use Snowflake\Snowflake;
|
|||||||
*/
|
*/
|
||||||
public function __construct(public string|array $limits)
|
public function __construct(public string|array $limits)
|
||||||
{
|
{
|
||||||
if (!is_string($this->limits)) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
$this->limits = [$this->limits];
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -25,10 +25,6 @@ use Snowflake\Snowflake;
|
|||||||
*/
|
*/
|
||||||
public function __construct(public string|array $middleware)
|
public function __construct(public string|array $middleware)
|
||||||
{
|
{
|
||||||
if (!is_string($this->middleware)) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
$this->middleware = [$this->middleware];
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user