mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 02:01:33 +00:00
CS fixes
This commit is contained in:
@@ -7,6 +7,7 @@ namespace App\Services\Binaries;
|
||||
use App\Models\Settings;
|
||||
use App\Models\UsenetGroup;
|
||||
use App\Services\NNTP\NNTPService;
|
||||
use Carbon\CarbonInterface;
|
||||
use Illuminate\Support\Carbon;
|
||||
use Illuminate\Support\Facades\DB;
|
||||
use Illuminate\Support\Facades\Log;
|
||||
@@ -40,13 +41,13 @@ class BinariesService
|
||||
|
||||
private float $timeInsert = 0;
|
||||
|
||||
private \Carbon\CarbonInterface $startLoop;
|
||||
private CarbonInterface $startLoop;
|
||||
|
||||
private \Carbon\CarbonInterface $startCleaning;
|
||||
private CarbonInterface $startCleaning;
|
||||
|
||||
private \Carbon\CarbonInterface $startPR;
|
||||
private CarbonInterface $startPR;
|
||||
|
||||
private \Carbon\CarbonInterface $startUpdate;
|
||||
private CarbonInterface $startUpdate;
|
||||
|
||||
// Scan state
|
||||
/**
|
||||
|
||||
@@ -100,7 +100,7 @@ class ReleaseCreationService
|
||||
|
||||
$determinedCategory = $categorize->determineCategory($collection->groups_id, $cleanedName, $fromName);
|
||||
|
||||
$searchName = ! empty($cleanedName) ? Utf8::clean($cleanedName) : $cleanRelName;
|
||||
$searchName = ! empty($cleanedName) ? Utf8::clean($cleanedName) : $cleanRelName;
|
||||
|
||||
$releaseID = Release::insertRelease([
|
||||
'name' => $cleanRelName,
|
||||
|
||||
@@ -33,4 +33,3 @@ final class Utf8
|
||||
return self::$encodings;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -125,5 +125,3 @@ class BinariesStorageInternalsTest extends TestCase
|
||||
$reflection->setValue($object, $value);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user