src/Resource/ContentType.php
public function jsonSerialize(): array
    {
        return [
            'sys' => $this->sys,
            'name' => $this->name,
            'description' => $this->description,
            'displayField' => $this->displayField,
            'fields' => \array_values($this->fields),
        ];
    }
public function jsonSerialize(): array
    {
        return [
            'sys' => $this->sys,
            'name' => $this->name,
            'description' => $this->description,
            'displayField' => $this->displayField,
            'fields' => \array_values($this->fields),
        ];
    }
{@inheritdoc}