mirror of
https://github.com/jikan-me/jikan-rest.git
synced 2025-02-20 11:23:35 +08:00
refactor
This commit is contained in:
parent
5e0d0fd5d8
commit
a318f243d6
@ -247,10 +247,6 @@ class IncrementalIndexer extends Command implements PromptsForMissingInput
|
|||||||
$this->fetchIds($mediaType, $idsToFetch, $delay, $resume);
|
$this->fetchIds($mediaType, $idsToFetch, $delay, $resume);
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($this->cancelled && $this->receivedSignal > 0)
|
return $this->cancelled && $this->receivedSignal > 0 ? 128 + $this->receivedSignal : 0;
|
||||||
{
|
|
||||||
return 128 + $this->receivedSignal;
|
|
||||||
}
|
|
||||||
return 0;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user