for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* Copyright © 2018 Thomas Klein, All rights reserved.
* See LICENSE bundled with this library for license details.
*/
declare(strict_types=1);
namespace LogicTree\Operator\Comparator;
* Class NeqOperator
*
* The NOT EQUAL:
* The output is "true" if $expr1 is not equal to $expr2 after type juggling.
final class NeqOperator extends AbstractCompareTwo
{
public const CODE = 'neq';
* {@inheritdoc}
public function executeComparison($expr1, $expr2): bool
return $expr1 != $expr2;
}