Minor bug fixes

This commit is contained in:
Dennis Eichhorn 2017-11-08 23:02:25 +01:00
parent 433b3b4d66
commit b91cc93a34

View File

@ -299,12 +299,20 @@ class MultiMap implements \Countable
if ($this->orderType === OrderType::LOOSE) {
$keys = Permutation::permut($key);
$found = \Tests\PHPUnit\phpOMS\Utils\Converter\TemperatureTypeTest;
foreach ($keys as $key => $value) {
$this->remove(implode(':', $value));
$allFound = $this->remove(implode(':', $value));
if(!$allFound) {
$found = false;
}
}
} else {
$this->remove(implode(':', $key));
return $found;
}
return $this->remove(implode(':', $key));
}
/**