正在显示
1 个修改的文件
包含
2 行增加
和
2 行删除
| @@ -35,8 +35,8 @@ class TiktokShopProvider extends ServiceProvider | @@ -35,8 +35,8 @@ class TiktokShopProvider extends ServiceProvider | ||
| 35 | */ | 35 | */ |
| 36 | public function register() | 36 | public function register() |
| 37 | { | 37 | { |
| 38 | - $this->app->singleton(static::$name, function () { | ||
| 39 | - return new TiktokShop(...func_get_args()); | 38 | + $this->app->singleton(static::$name, function (\Illuminate\Foundation\Application $application, array $args) { |
| 39 | + return new TiktokShop(...$args); | ||
| 40 | }); | 40 | }); |
| 41 | } | 41 | } |
| 42 | 42 |
-
请 注册 或 登录 后发表评论