No function changes. Cleanup console command cleanup
This commit is contained in:
@@ -58,10 +58,10 @@ class PacketProcess extends Command
|
||||
/**
|
||||
* Execute the console command.
|
||||
*
|
||||
* @return int|void
|
||||
* @return int
|
||||
* @throws \Exception
|
||||
*/
|
||||
public function handle()
|
||||
public function handle(): int
|
||||
{
|
||||
$rel_name = sprintf('%s/%s',config('fido.dir'),$this->argument('file'));
|
||||
|
||||
@@ -74,7 +74,8 @@ class PacketProcess extends Command
|
||||
|
||||
} else {
|
||||
$this->error('Unable to determine sender FTN address');
|
||||
exit(1);
|
||||
|
||||
return self::FAILURE;
|
||||
}
|
||||
|
||||
Job::dispatchSync($rel_name,$ao->zone->domain,$this->option('dontqueue'));
|
||||
|
Reference in New Issue
Block a user