mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-23 02:28:44 +02:00
16 lines
341 B
PHP
16 lines
341 B
PHP
<?php
|
|
|
|
namespace Combodo\iTop\PhpParser\Evaluation;
|
|
|
|
use PhpParser\Node\Expr\BinaryOp\BitwiseAnd;
|
|
|
|
class BitwiseAndEvaluator extends BinaryOpEvaluator {
|
|
public function GetHandledExpressionType(): ?string {
|
|
return BitwiseAnd::class;
|
|
}
|
|
|
|
function EvaluateBinaryOperation(mixed $left, mixed $right) : mixed
|
|
{
|
|
return $left & $right;
|
|
}
|
|
} |