From 4a087ef33d9165bcb18236abd6069cf77c9cc3de Mon Sep 17 00:00:00 2001 From: Christy Jacob Date: Fri, 4 Mar 2022 14:37:56 +0400 Subject: [PATCH] feat: use shorter syntax --- app/executor.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/executor.php b/app/executor.php index 51215b637e..b82d17a117 100644 --- a/app/executor.php +++ b/app/executor.php @@ -423,7 +423,7 @@ App::post('/v1/execution') $errNo = -1; $executorResponse = ''; - $timeout = $timeout ?? (int) App::getEnv('_APP_FUNCTIONS_TIMEOUT', 900); + $timeout ??= (int) App::getEnv('_APP_FUNCTIONS_TIMEOUT', 900); $ch = \curl_init(); $body = \json_encode([