diff --git a/src/Adamlc/AddressFormat/Format.php b/src/Adamlc/AddressFormat/Format.php index 882f99f..59d2c54 100644 --- a/src/Adamlc/AddressFormat/Format.php +++ b/src/Adamlc/AddressFormat/Format.php @@ -171,22 +171,26 @@ public function clearAttributes() $this->input_map[$key] = ''; } } - + + #[\ReturnTypeWillChange] public function offsetExists($offset) { return isset($this->input_map[$offset]); } - + + #[\ReturnTypeWillChange] public function offsetGet($offset) { return $this->getAttribute($offset); } - + + #[\ReturnTypeWillChange] public function offsetSet($offset, $value) { $this->setAttribute($offset, $value); } - + + #[\ReturnTypeWillChange] public function offsetUnset($offset) { if ($this->offsetExists($offset)) { @@ -220,6 +224,4 @@ public function validAddressPieces() throw new LocaleMissingFormatException('Locale missing format'); } } - - }