|
@@ -460,7 +460,7 @@ discard block |
|
|
block discarded – undo |
|
460
|
460
|
* @param array<boolean|integer|string|array> $vars parsed arguments list |
|
461
|
461
|
* @param string|null $match should also match to this operator |
|
462
|
462
|
* |
|
463
|
|
- * @return boolean Return true |
|
|
463
|
+ * @return null|boolean Return true |
|
464
|
464
|
*/ |
|
465
|
465
|
protected static function blockEnd(&$context, &$vars, $match = null) { |
|
466
|
466
|
$context['level']--; |
|
@@ -742,7 +742,7 @@ discard block |
|
|
block discarded – undo |
|
742
|
742
|
* @param array<string,array|string|integer> $context Current context of compiler progress. |
|
743
|
743
|
* @param string $name helper name |
|
744
|
744
|
* |
|
745
|
|
- * @return string|null $content helper function name or callable |
|
|
745
|
+ * @return boolean|null $content helper function name or callable |
|
746
|
746
|
*/ |
|
747
|
747
|
public static function resolveHelper(&$context, &$name) { |
|
748
|
748
|
if (isset($context['helpers'][$name])) { |
Please login to merge, or discard this patch.