mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-29 05:28:44 +02:00
✅ Make unit tests working
This commit is contained in:
@@ -112,7 +112,7 @@ class OrderedHashMap implements \ArrayAccess, \IteratorAggregate, \Countable
|
||||
public function offsetGet(mixed $key): mixed
|
||||
{
|
||||
if (!isset($this->elements[$key])) {
|
||||
throw new \OutOfBoundsException(sprintf('The offset "%s" does not exist.', $key));
|
||||
throw new \OutOfBoundsException(\sprintf('The offset "%s" does not exist.', $key));
|
||||
}
|
||||
|
||||
return $this->elements[$key];
|
||||
|
||||
Reference in New Issue
Block a user