1
0
Fork 0
mirror of synced 2024-09-30 17:26:48 +13:00

feat: use shorter syntax

This commit is contained in:
Christy Jacob 2022-03-04 14:37:56 +04:00
parent ea1d55e82b
commit 4a087ef33d

View file

@ -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([