protected function filterEligibleKeys(array $eligibleKeys)
	{
		$filteredKeys = [];
		foreach ($eligibleKeys as $k => $keys)
		{
			if (count($keys) > 1)
			{
				$filteredKeys[] = $keys;
			}
		}

		return $filteredKeys;
	}
protected function filterEligibleKeys(array $eligibleKeys)
	{
		$filteredKeys = [];
		foreach ($eligibleKeys as $k => $keys)
		{
			if (count($keys) > 1)
			{
				$filteredKeys[] = $keys;
			}
		}

		return $filteredKeys;
	}
protected function filterEligibleKeys ( array $ eligibleKeys ) { $ filteredKeys = [ ] ; foreach ( $ eligibleKeys as $ k => $ keys ) { if ( count ( $ keys ) > 1 ) { $ filteredKeys [ ] = $ keys ; } } return $ filteredKeys ; }
Filter the list of eligible keys and keep those that have at least two matches

@param  array[] $eligibleKeys List of lists of keys
@return array[]
Filter the list of eligible keys and keep those that have at least two matches