Fix PhanTypeMismatchDeclaredParam
[lhc/web/wiklou.git] / includes / TemplateParser.php
index 2293dab..9271e3f 100644 (file)
@@ -46,7 +46,7 @@ class TemplateParser {
        protected $compileFlags = LightnCandy::FLAG_ERROR_EXCEPTION;
 
        /**
-        * @param string $templateDir
+        * @param string|null $templateDir
         * @param bool $forceRecompile
         */
        public function __construct( $templateDir = null, $forceRecompile = false ) {