This commit is contained in:
2021-02-23 14:21:43 +08:00
parent 589169e4d4
commit cfdbcba13f
4 changed files with 0 additions and 16 deletions
-4
View File
@@ -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];
} }
-4
View File
@@ -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];
} }
-4
View File
@@ -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];
} }
-4
View File
@@ -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];
} }