Rename AutoUpdater -> UpdateChecker

This commit is contained in:
Dylan K. Taylor
2021-08-20 19:54:08 +01:00
parent 17c7e25346
commit d488c25a1a
5 changed files with 17 additions and 17 deletions

View File

@@ -39,7 +39,7 @@ class UpdateCheckTask extends AsyncTask{
/** @var string */
private $error = "Unknown error";
public function __construct(AutoUpdater $updater, string $endpoint, string $channel){
public function __construct(UpdateChecker $updater, string $endpoint, string $channel){
$this->storeLocal(self::TLS_KEY_UPDATER, $updater);
$this->endpoint = $endpoint;
$this->channel = $channel;
@@ -74,7 +74,7 @@ class UpdateCheckTask extends AsyncTask{
}
public function onCompletion() : void{
/** @var AutoUpdater $updater */
/** @var UpdateChecker $updater */
$updater = $this->fetchLocal(self::TLS_KEY_UPDATER);
if($this->hasResult()){
/** @var UpdateInfo $response */