Skip to content

Commit

Permalink
EPV Error: Revert some changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Skouat committed Jul 2, 2023
1 parent 503268c commit 3787264
Showing 1 changed file with 44 additions and 9 deletions.
53 changes: 44 additions & 9 deletions operators/compare.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,48 @@ public function compare_value($value1, $value2, $operator): bool
* @return bool
* @access private
*/
private function compare_lt($a, $b) { return $a < $b; }
private function compare_lte($a, $b) { return $a <= $b; }
private function compare_eq($a, $b) { return $a == $b; }
private function compare_id($a, $b) { return $a === $b; }
private function compare_gte($a, $b) { return $a >= $b; }
private function compare_gt($a, $b) { return $a > $b; }
private function compare_diff($a, $b) { return $a <> $b; }
private function compare_not_eq($a, $b) { return $a != $b; }
private function compare_not_id($a, $b) { return $a !== $b; }
private function compare_lt($a, $b)
{
return $a < $b;
}

private function compare_lte($a, $b)
{
return $a <= $b;
}

private function compare_eq($a, $b)
{
return $a == $b;
}

private function compare_id($a, $b)
{
return $a === $b;
}

private function compare_gte($a, $b)
{
return $a >= $b;
}

private function compare_gt($a, $b)
{
return $a > $b;
}

private function compare_diff($a, $b)
{
return $a <> $b;
}

private function compare_not_eq($a, $b)
{
return $a != $b;
}

private function compare_not_id($a, $b)
{
return $a !== $b;
}
}

0 comments on commit 3787264

Please sign in to comment.