src/Model/TagInfo.php
public static function fromApi(array $data): self
    {
        return new self(
            $data['name'],
            $data['url'] ?? null,
            $data['total'] ? (int) $data['total'] : 0,
            $data['reach'] ? (int) $data['reach'] : 0,
            $data['wiki']['summary'] ?? null
        );
    }
public static function fromApi(array $data): self
    {
        return new self(
            $data['name'],
            $data['url'] ?? null,
            $data['total'] ? (int) $data['total'] : 0,
            $data['reach'] ? (int) $data['reach'] : 0,
            $data['wiki']['summary'] ?? null
        );
    }
@param array $data

@return TagInfo