app/Console/Commands/CloudMediaMigrate.php
Method handle
has 51 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function handle()
{
$enabled = (bool) config_cache('pixelfed.cloud_storage');
if(!$enabled) {
$this->error('Cloud storage not enabled. Exiting...');
Avoid too many return
statements within this method. Open
Open
return Command::SUCCESS;
Avoid too many return
statements within this method. Open
Open
return;
Avoid too many return
statements within this method. Open
Open
return;