@@ -454,9 +454,9 @@ discard block |
||
454 | 454 | * |
455 | 455 | * @param array<string,array|string|integer> $context current compile context |
456 | 456 | * @param array<boolean|integer|string|array> $vars parsed arguments list |
457 | - * @param string|null $matchop should also match to this operator |
|
457 | + * @param string $match should also match to this operator |
|
458 | 458 | * |
459 | - * @return boolean Return true |
|
459 | + * @return null|boolean Return true |
|
460 | 460 | */ |
461 | 461 | protected static function blockEnd(&$context, &$vars, $match = null) { |
462 | 462 | $context['level']--; |
@@ -678,7 +678,7 @@ discard block |
||
678 | 678 | * @param array<string,array|string|integer> $context current compile context |
679 | 679 | * @param array<boolean|integer|string|array> $vars parsed arguments list |
680 | 680 | * |
681 | - * @return boolean Return true when it is custom helper |
|
681 | + * @return boolean|null Return true when it is custom helper |
|
682 | 682 | */ |
683 | 683 | public static function lookup(&$context, $vars) { |
684 | 684 | if (isset($vars[0][0]) && ($vars[0][0] === 'lookup')) { |
@@ -742,7 +742,7 @@ discard block |
||
742 | 742 | * @param array<string,array|string|integer> $context current compile context |
743 | 743 | * @param array<boolean|integer|string|array> $vars parsed arguments list |
744 | 744 | * |
745 | - * @return boolean Return true always |
|
745 | + * @return boolean|null Return true always |
|
746 | 746 | */ |
747 | 747 | protected static function inline(&$context, $vars) { |
748 | 748 | if (!$context['flags']['runpart']) { |