mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 00:01:21 +00:00
Apply fixes from StyleCI
[ci skip] [skip ci]
This commit is contained in:
@@ -115,18 +115,18 @@ class Predb extends Model
|
||||
$total = \count($res);
|
||||
echo ColorCLI::primary(number_format($total).' releases to match.');
|
||||
|
||||
foreach ($res as $row) {
|
||||
Release::query()->where('id', $row['releases_id'])->update(['predb_id' => $row['predb_id']]);
|
||||
foreach ($res as $row) {
|
||||
Release::query()->where('id', $row['releases_id'])->update(['predb_id' => $row['predb_id']]);
|
||||
|
||||
if (config('nntmux.echocli')) {
|
||||
$consoleTools->overWritePrimary(
|
||||
if (config('nntmux.echocli')) {
|
||||
$consoleTools->overWritePrimary(
|
||||
'Matching up preDB titles with release searchnames: '.$consoleTools->percentString(++$updated, $total)
|
||||
);
|
||||
}
|
||||
}
|
||||
if (config('nntmux.echocli')) {
|
||||
echo PHP_EOL;
|
||||
}
|
||||
}
|
||||
if (config('nntmux.echocli')) {
|
||||
echo PHP_EOL;
|
||||
}
|
||||
|
||||
if (config('nntmux.echocli')) {
|
||||
echo ColorCLI::header(
|
||||
|
||||
Reference in New Issue
Block a user