mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-30 14:08:46 +02:00
16 lines
338 B
PHP
16 lines
338 B
PHP
<?php
|
|
|
|
namespace Combodo\iTop\PhpParser\Evaluation;;
|
|
|
|
use PhpParser\Node\Expr\BinaryOp\BitwiseOr;
|
|
|
|
class BitwiseOrEvaluator extends BinaryOpEvaluator {
|
|
public function GetHandledExpressionType(): string {
|
|
return BitwiseOr::class;
|
|
}
|
|
|
|
function EvaluateBinaryOperation(mixed $left, mixed $right) : mixed
|
|
{
|
|
return $left | $right;
|
|
}
|
|
} |