| @@ -456,7 +456,7 @@ | ||
| 456 | 456 | * @param array<boolean|integer|string|array> $vars parsed arguments list | 
| 457 | 457 | * @param string|null $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']--; | 
| @@ -195,7 +195,7 @@ discard block | ||
| 195 | 195 | * @param array<string,array|string|integer> $context current compile context | 
| 196 | 196 | * @param array<boolean|integer|string|array> $vars parsed arguments list | 
| 197 | 197 | * | 
| 198 | - * @return array<string> code representing passed expression | |
| 198 | + * @return string[] code representing passed expression | |
| 199 | 199 | */ | 
| 200 | 200 |      public static function compileSubExpression(&$context, $vars) { | 
| 201 | 201 | $ret = static::customHelper($context, $vars, true, true); | 
| @@ -501,7 +501,7 @@ discard block | ||
| 501 | 501 | * @param array<boolean|integer|string|array> $vars parsed arguments list | 
| 502 | 502 | * @param boolean $isEach the section is #each | 
| 503 | 503 | * | 
| 504 | - * @return string|null Return compiled code segment for the token | |
| 504 | + * @return string Return compiled code segment for the token | |
| 505 | 505 | */ | 
| 506 | 506 |      protected static function section(&$context, $vars, $isEach = false) { | 
| 507 | 507 | $bs = 'null'; | 
| @@ -531,7 +531,7 @@ discard block | ||
| 531 | 531 | * @param array<string,array|string|integer> $context current compile context | 
| 532 | 532 | * @param array<boolean|integer|string|array> $vars parsed arguments list | 
| 533 | 533 | * | 
| 534 | - * @return string|null Return compiled code segment for the token | |
| 534 | + * @return string Return compiled code segment for the token | |
| 535 | 535 | */ | 
| 536 | 536 |      protected static function with(&$context, $vars) { | 
| 537 | 537 | $v = isset($vars[1]) ? static::getVariableNameOrSubExpression($context, $vars[1]) : array(null, array()); |