From fe3916aa0c29b732d109955c14a03f3f2a4ec8db Mon Sep 17 00:00:00 2001
From: Prasad <prasad@vtiger.com>
Date: Wed, 26 Oct 2022 18:38:09 +0530
Subject: [PATCH] Fixed data-type in Smarty exception calss

---
 libraries/Smarty/libs/sysplugins/smartycompilerexception.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libraries/Smarty/libs/sysplugins/smartycompilerexception.php b/libraries/Smarty/libs/sysplugins/smartycompilerexception.php
index f7ad39b93..c7ef93e87 100644
--- a/libraries/Smarty/libs/sysplugins/smartycompilerexception.php
+++ b/libraries/Smarty/libs/sysplugins/smartycompilerexception.php
@@ -20,7 +20,7 @@ class SmartyCompilerException extends SmartyException
      *
      * @type int|null
      */
-    public $line = null;
+    public int $line = 0;
 
     /**
      * The template source snippet relating to the error
-- 
GitLab