No function changes. Cleanup console command cleanup
This commit is contained in:
@@ -32,9 +32,9 @@ class NodelistImport extends Command
|
||||
/**
|
||||
* Execute the console command.
|
||||
*
|
||||
* @return mixed
|
||||
* @return int
|
||||
*/
|
||||
public function handle()
|
||||
public function handle():int
|
||||
{
|
||||
try {
|
||||
return Job::dispatchSync(
|
||||
@@ -50,6 +50,8 @@ class NodelistImport extends Command
|
||||
|
||||
} catch (\Exception $e) {
|
||||
$this->error($e->getMessage());
|
||||
|
||||
return self::FAILURE;
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user