diff --git a/oe_theme-oe_paragraphs-str_replace_error.patch b/oe_theme-oe_paragraphs-str_replace_error.patch new file mode 100644 index 000000000..e69de29bb diff --git a/src/ValueObject/ValueObjectBase.php b/src/ValueObject/ValueObjectBase.php index 3738cb229..7220259b4 100644 --- a/src/ValueObject/ValueObjectBase.php +++ b/src/ValueObject/ValueObjectBase.php @@ -19,6 +19,7 @@ abstract class ValueObjectBase implements ValueObjectInterface { /** * {@inheritdoc} */ + #[\ReturnTypeWillChange] public function offsetExists(mixed $offset): bool { return array_key_exists($offset, $this->getArray()); } @@ -34,6 +35,7 @@ public function getIterator() { /** * {@inheritdoc} */ + #[\ReturnTypeWillChange] public function offsetGet(mixed $offset): mixed { return $this->getArray()[$offset]; }