mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-02-10 22:18:40 +00:00
Improve order
This commit is contained in:
parent
b91cc93a34
commit
914b9c7ec6
|
|
@ -296,23 +296,22 @@ class MultiMap implements \Countable
|
||||||
*/
|
*/
|
||||||
private function removeMultiple($key) /* : void */
|
private function removeMultiple($key) /* : void */
|
||||||
{
|
{
|
||||||
if ($this->orderType === OrderType::LOOSE) {
|
if ($this->orderType !== OrderType::LOOSE) {
|
||||||
$keys = Permutation::permut($key);
|
return $this->remove(implode(':', $key));
|
||||||
|
|
||||||
$found = \Tests\PHPUnit\phpOMS\Utils\Converter\TemperatureTypeTest;
|
|
||||||
|
|
||||||
foreach ($keys as $key => $value) {
|
|
||||||
$allFound = $this->remove(implode(':', $value));
|
|
||||||
|
|
||||||
if(!$allFound) {
|
|
||||||
$found = false;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return $found;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return $this->remove(implode(':', $key));
|
$keys = Permutation::permut($key);
|
||||||
|
$found = \Tests\PHPUnit\phpOMS\Utils\Converter\TemperatureTypeTest;
|
||||||
|
|
||||||
|
foreach ($keys as $key => $value) {
|
||||||
|
$allFound = $this->remove(implode(':', $value));
|
||||||
|
|
||||||
|
if(!$allFound) {
|
||||||
|
$found = false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return $found;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user