diff --git a/php/src/Data/ConfigurationManager.php b/php/src/Data/ConfigurationManager.php index 1cf84721193..2ab69a27279 100644 --- a/php/src/Data/ConfigurationManager.php +++ b/php/src/Data/ConfigurationManager.php @@ -928,11 +928,7 @@ private function GetEnabledNvidiaGPUMode() : string { } public function isNvidiaRuntimeEnabled() : bool { - if ($this->GetEnabledNvidiaGPUMode() === 'runtime') { - return true; - } else { - return false; - } + $this->GetEnabledNvidiaGPUMode() === 'runtime' } public function isNvidiaDeployEnabled() : bool {