Skip to content

Commit 023181d

Browse files
authored
fix: broken type hint in constructor
1 parent 94570df commit 023181d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/BladeOne.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -249,8 +249,8 @@ class BladeOne
249249
* $blade=new BladeOne("pathtemplate","pathcompile",BladeOne::MODE_AUTO,2);
250250
* ```
251251
*
252-
* @param null $templatePath If null then it uses (caller_folder)/views
253-
* @param null $compiledPath If null then it uses (caller_folder)/compiles
252+
* @param string|null $templatePath If null then it uses (caller_folder)/views
253+
* @param string|null $compiledPath If null then it uses (caller_folder)/compiles
254254
* @param int $mode =[BladeOne::MODE_AUTO,BladeOne::MODE_DEBUG,BladeOne::MODE_FAST,BladeOne::MODE_SLOW][$i]<br>
255255
* **BladeOne::MODE_AUTO** (default mode)<br>
256256
* **BladeOne::MODE_DEBUG** errors will be more verbose, and it will compile code every

0 commit comments

Comments
 (0)