Replace disallowed operators in src/updater/

This commit is contained in:
Dylan K. Taylor
2022-01-20 19:21:04 +00:00
parent ae03c70dfc
commit 61f8144280
2 changed files with 3 additions and 3 deletions

View File

@ -68,9 +68,9 @@ class UpdateChecker{
$this->showConsoleUpdate();
}
}else{
if(!VersionInfo::IS_DEVELOPMENT_BUILD and $this->getChannel() !== "stable"){
if(!VersionInfo::IS_DEVELOPMENT_BUILD && $this->getChannel() !== "stable"){
$this->showChannelSuggestionStable();
}elseif(VersionInfo::IS_DEVELOPMENT_BUILD and $this->getChannel() === "stable"){
}elseif(VersionInfo::IS_DEVELOPMENT_BUILD && $this->getChannel() === "stable"){
$this->showChannelSuggestionBeta();
}
}