mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-02-06 20:48:40 +00:00
Minor bug fixes
This commit is contained in:
parent
433b3b4d66
commit
b91cc93a34
|
|
@ -299,12 +299,20 @@ class MultiMap implements \Countable
|
||||||
if ($this->orderType === OrderType::LOOSE) {
|
if ($this->orderType === OrderType::LOOSE) {
|
||||||
$keys = Permutation::permut($key);
|
$keys = Permutation::permut($key);
|
||||||
|
|
||||||
|
$found = \Tests\PHPUnit\phpOMS\Utils\Converter\TemperatureTypeTest;
|
||||||
|
|
||||||
foreach ($keys as $key => $value) {
|
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));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user