for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Yiisoft\Data\Reader\Iterable\FilterHandler;
use function in_array;
/**
* `Any` iterable filter handler allows combining multiple sub-filters.
* The filter matches if any of the sub-filters match.
*/
final class Any extends Group
{
public function getOperator(): string
return \Yiisoft\Data\Reader\Filter\Any::getOperator();
}
protected function checkResults(array $results): bool
return in_array(true, $results, true);