Pint
This commit is contained in:
@@ -2,9 +2,8 @@
|
||||
|
||||
namespace App\Console\Commands;
|
||||
|
||||
use App\Models\Downloads;
|
||||
use App\Jobs\GetFileSizeFromCDN;
|
||||
|
||||
use App\Models\Downloads;
|
||||
use Illuminate\Console\Command;
|
||||
|
||||
class GetFileSize extends Command
|
||||
@@ -28,7 +27,7 @@ class GetFileSize extends Command
|
||||
*/
|
||||
public function handle()
|
||||
{
|
||||
foreach(Downloads::whereNull('size')->get() as $download) {
|
||||
foreach (Downloads::whereNull('size')->get() as $download) {
|
||||
GetFileSizeFromCDN::dispatch($download->id);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user