|
...
|
...
|
@@ -505,11 +505,11 @@ namespace Lackoxygen\TiktokShop\Facade; |
|
|
|
|
|
|
|
use Lackoxygen\TiktokShop\Request;
|
|
|
|
use Illuminate\Support\Facades\Facade as LaravelFacade;
|
|
|
|
use Lackoxygen\TiktokShop\ServiceProvider;
|
|
|
|
use Lackoxygen\TiktokShop\Support\Verify;
|
|
|
|
use Lackoxygen\TiktokShop\Application;
|
|
|
|
|
|
|
|
\${ANNOTATE}
|
|
|
|
|
|
|
|
class Facade extends LaravelFacade
|
|
|
|
{
|
|
|
|
/**
|
|
...
|
...
|
@@ -519,6 +519,15 @@ class Facade extends LaravelFacade |
|
|
|
{
|
|
|
|
return Application::class;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @param string \$name
|
|
|
|
* @return mixed
|
|
|
|
*/
|
|
|
|
public static function app(string \$name): Application
|
|
|
|
{
|
|
|
|
return \app(ServiceProvider::\$name, [\$name]);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
FACADE;
|
|
|
|
|
|
...
|
...
|
@@ -536,8 +545,7 @@ FACADE; |
|
|
|
|
|
|
|
array_unshift(
|
|
|
|
$metas,
|
|
|
|
' * @method static Application setAccessToken(string $accessToken)',
|
|
|
|
' * @method static Application use ($options)'
|
|
|
|
' * @method static Application accessToken(string $accessToken)',
|
|
|
|
);
|
|
|
|
|
|
|
|
$metaAnnotate = '/**' . "\n";
|
|
...
|
...
|
@@ -560,7 +568,7 @@ FACADE; |
|
|
|
|
|
|
|
$cs = $app_path . '/vendor/bin/php-cs-fixer';
|
|
|
|
|
|
|
|
if (!file_exists($cs)) {
|
|
|
|
if (!file_exists($cs) || !is_executable($cs)) {
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
|
...
|
...
|
|