mirror of
https://github.com/twigphp/Twig.git
synced 2026-11-11 04:36:47 +00:00
Fix testing and expression when it evaluates to an instance of Markup
This commit is contained in:
@@ -17,7 +17,7 @@ use Twig\Compiler;
|
||||
/**
|
||||
* @final
|
||||
*/
|
||||
class ConstantExpression extends AbstractExpression implements SupportDefinedTestInterface
|
||||
class ConstantExpression extends AbstractExpression implements SupportDefinedTestInterface, ReturnPrimitiveTypeInterface
|
||||
{
|
||||
use SupportDefinedTestTrait;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user