作者 lackoxygen

feat:argv

@@ -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