pocketmine\updater\AutoUpdater::checkStable PHP Метод

checkStable() защищенный Метод

protected checkStable ( )
    protected function checkStable()
    {
        $response = Utils::getURL("https://raw.githubusercontent.com/ClearSkyTeam/ClearSkyStable/master/CurrentStableVersion", 4);
        if (!is_string($response)) {
            return;
        }
        if (!$this->updateInfo["build"] == $response) {
            $this->hasUpdate = false;
        }
        $this->checkUpdate();
    }