|
@@ -207,7 +207,7 @@ discard block |
|
|
block discarded – undo |
|
207
|
207
|
* @param array<string,array|string|integer> $context current compile context |
|
208
|
208
|
* @param array<boolean|integer|string|array> $vars parsed arguments list |
|
209
|
209
|
* |
|
210
|
|
- * @return boolean Return true always |
|
|
210
|
+ * @return boolean|null Return true always |
|
211
|
211
|
*/ |
|
212
|
212
|
protected static function partialBlock($operator, &$context, $vars) { |
|
213
|
213
|
if (count($context['partialblock']) > 0) { |
|
@@ -577,7 +577,7 @@ discard block |
|
|
block discarded – undo |
|
577
|
577
|
* @param array<string,array|string|integer> $context current compile context |
|
578
|
578
|
* @param array<boolean|integer|string|array> $vars parsed arguments list |
|
579
|
579
|
* |
|
580
|
|
- * @return boolean Return true when it is custom helper |
|
|
580
|
+ * @return boolean|null Return true when it is custom helper |
|
581
|
581
|
*/ |
|
582
|
582
|
public static function lookup(&$context, $vars) { |
|
583
|
583
|
if (isset($vars[0][0]) && ($vars[0][0] === 'lookup')) { |
Please login to merge, or discard this patch.