private function getAlternative($type, $name)
{
$other = null;
$alternatives = 'set' === $type ? $this->getSetNames() : array_keys($this->getFixers());
foreach ($alternatives as $alternative) {
$distance = levenshtein($name, $alternative);
if (3 > $distance) {
$other = $alternative;
break;
}
}
return $other;
}