minor #27657 [ExpressionLanguage] change evaluate() docblock return type from string to mixed (jspee)

This PR was submitted for the 4.1 branch but it was merged into the 2.8 branch instead (closes #27657).

Discussion
----------

[ExpressionLanguage] change `evaluate()` docblock return type from string to mixed

Issue: https://github.com/symfony/symfony/issues/27652

Commits
-------

2d26a556fd change `evaluate()` docblock return type from string to mixed
This commit is contained in:
Fabien Potencier 2018-06-20 19:39:13 +02:00
commit 00b6f53a55

View File

@ -60,7 +60,7 @@ class ExpressionLanguage
* @param Expression|string $expression The expression to compile
* @param array $values An array of values
*
* @return string The result of the evaluation of the expression
* @return mixed The result of the evaluation of the expression
*/
public function evaluate($expression, $values = array())
{