squirrelphp/twig-php-syntax

View on GitHub
src/Operator/NotSameAsBinary.php

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
<?php

namespace Squirrel\TwigPhpSyntax\Operator;

use Twig\Compiler;
use Twig\Node\Expression\Binary\AbstractBinary;

class NotSameAsBinary extends AbstractBinary
{
    public function operator(Compiler $compiler): Compiler
    {
        return $compiler->raw('!==');
    }
}