From 023181d5c838318128785b05501e0b4372961b7e Mon Sep 17 00:00:00 2001 From: Pranjal Pandey Date: Thu, 17 Oct 2024 21:21:46 +0530 Subject: [PATCH] fix: broken type hint in constructor --- lib/BladeOne.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/BladeOne.php b/lib/BladeOne.php index 8de2143..b39e225 100644 --- a/lib/BladeOne.php +++ b/lib/BladeOne.php @@ -249,8 +249,8 @@ class BladeOne * $blade=new BladeOne("pathtemplate","pathcompile",BladeOne::MODE_AUTO,2); * ``` * - * @param null $templatePath If null then it uses (caller_folder)/views - * @param null $compiledPath If null then it uses (caller_folder)/compiles + * @param string|null $templatePath If null then it uses (caller_folder)/views + * @param string|null $compiledPath If null then it uses (caller_folder)/compiles * @param int $mode =[BladeOne::MODE_AUTO,BladeOne::MODE_DEBUG,BladeOne::MODE_FAST,BladeOne::MODE_SLOW][$i]
* **BladeOne::MODE_AUTO** (default mode)
* **BladeOne::MODE_DEBUG** errors will be more verbose, and it will compile code every