mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-18 14:58:43 +02:00
16 lines
332 B
PHP
16 lines
332 B
PHP
<?php
|
|
|
|
namespace Combodo\iTop\PhpParser\Evaluation;
|
|
|
|
use PhpParser\Node\Expr\BinaryOp\Smaller;
|
|
|
|
class SmallerEvaluator extends BinaryOpEvaluator {
|
|
public function GetHandledExpressionType(): ?string {
|
|
return Smaller::class;
|
|
}
|
|
|
|
function EvaluateBinaryOperation(mixed $left, mixed $right) : mixed
|
|
{
|
|
return $left < $right;
|
|
}
|
|
} |