From b41308b7ae59c847a4763720d7beda8d234772c2 Mon Sep 17 00:00:00 2001
From: Thorsten Reiter <thorsten.reiter@ibexa.co>
Date: Tue, 10 Dec 2024 17:24:13 +0100
Subject: [PATCH] fix-cs

---
 src/bundle/Core/Command/ReindexCommand.php | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/bundle/Core/Command/ReindexCommand.php b/src/bundle/Core/Command/ReindexCommand.php
index 57822a8924..74b8140d37 100644
--- a/src/bundle/Core/Command/ReindexCommand.php
+++ b/src/bundle/Core/Command/ReindexCommand.php
@@ -450,11 +450,12 @@ private function getPhpPath()
     private function getNumberOfCPUCores()
     {
         $cores = 1;
-        if (isset($_SERVER['PLATFORM_BRANCH']) && is_file( '/run/config.json')) {
+        if (isset($_SERVER['PLATFORM_BRANCH']) && is_file('/run/config.json')) {
             // Ibexa Cloud: read #cpus from config
             $config_json_encoded = file_get_contents('/run/config.json');
             $config_json = json_decode($config_json_encoded);
             $cores = isset($config_json->info->limits->cpu) ? max(1, floor($config_json->info->limits->cpu)) : 1;
+
             return $cores;
         } elseif (is_file('/proc/cpuinfo')) {
             // Linux (and potentially Windows with linux sub systems)