dependencies-upgrade

This commit is contained in:
RafficMohammed
2023-01-08 02:20:59 +05:30
parent 7870479b18
commit 49021a4497
1711 changed files with 74994 additions and 70803 deletions

View File

@@ -38,14 +38,14 @@ class Command extends SymfonyCommand
/**
* The console command description.
*
* @var string|null
* @var string
*/
protected $description;
/**
* The console command help text.
*
* @var string|null
* @var string
*/
protected $help;
@@ -131,7 +131,9 @@ class Command extends SymfonyCommand
*/
protected function execute(InputInterface $input, OutputInterface $output)
{
return (int) $this->laravel->call([$this, 'handle']);
$method = method_exists($this, 'handle') ? 'handle' : '__invoke';
return (int) $this->laravel->call([$this, $method]);
}
/**
@@ -161,6 +163,8 @@ class Command extends SymfonyCommand
/**
* {@inheritdoc}
*
* @return bool
*/
public function isHidden()
{
@@ -169,6 +173,8 @@ class Command extends SymfonyCommand
/**
* {@inheritdoc}
*
* @return static
*/
public function setHidden(bool $hidden)
{