src/Mordilion/Configurable/Configuration/Configuration.php
public function toArray(): array
    {
        $result = array();
        $data = $this->data;

        foreach ($data as $key => $value) {
            if ($value instanceof ConfigurationInterface) {
                $value = $value->toArray();
            }
            
            $result[$key] = $value;
        }

        return $result;
    }
public function toArray(): array
    {
        $result = array();
        $data = $this->data;

        foreach ($data as $key => $value) {
            if ($value instanceof ConfigurationInterface) {
                $value = $value->toArray();
            }
            
            $result[$key] = $value;
        }

        return $result;
    }
{@inheritdoc}