From e7808096ffa4ecb88b3f6605e4eee045b0b684fb Mon Sep 17 00:00:00 2001 From: Shish Date: Wed, 22 Sep 2021 16:02:33 +0100 Subject: [PATCH] format --- core/dbengine.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/core/dbengine.php b/core/dbengine.php index e0436bff..ea70220c 100644 --- a/core/dbengine.php +++ b/core/dbengine.php @@ -100,7 +100,9 @@ class PostgreSQL extends DBEngine public function set_timeout(PDO $db, ?int $time): void { - if(is_null($time)) $time = 0; + if (is_null($time)) { + $time = 0; + } $db->exec("SET statement_timeout TO ".$time.";"); }