From f3e47e62f3205d42ef830a9ffc2824f589e3c741 Mon Sep 17 00:00:00 2001 From: "Simon L." Date: Fri, 20 Dec 2024 18:51:43 +0100 Subject: [PATCH] Container.php: adjust casing of enable_nvidia_gpu to enableNvidiaGpu Signed-off-by: Simon L. --- php/src/Container/Container.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/php/src/Container/Container.php b/php/src/Container/Container.php index 44980541eff..0b032e8c2d4 100644 --- a/php/src/Container/Container.php +++ b/php/src/Container/Container.php @@ -23,7 +23,7 @@ public function __construct( private array $secrets, /** @var string[] */ private array $devices, - private bool $enable_nvidia_gpu, + private bool $enableNvidiaGpu, /** @var string[] */ private array $capAdd, private int $shmSize, @@ -94,7 +94,7 @@ public function GetDevices() : array { } public function isNvidiaGpuEnabled() : bool { - return $this->enable_nvidia_gpu; + return $this->enableNvidiaGpu; } public function GetCapAdds() : array {