mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-19 15:22:17 +02:00
move PhpParser/Evaluation classes in a specific namespave + composer dumpautoload
This commit is contained in:
16
sources/PhpParser/Evaluation/BooleanOrEvaluator.php
Normal file
16
sources/PhpParser/Evaluation/BooleanOrEvaluator.php
Normal file
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
|
||||
namespace Combodo\iTop\PhpParser\Evaluation;;
|
||||
|
||||
use PhpParser\Node\Expr\BinaryOp\BooleanOr;
|
||||
|
||||
class BooleanOrEvaluator extends BinaryOpEvaluator {
|
||||
public function GetHandledExpressionType(): string {
|
||||
return BooleanOr::class;
|
||||
}
|
||||
|
||||
function EvaluateBinaryOperation(mixed $left, mixed $right) : mixed
|
||||
{
|
||||
return $left || $right;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user