src/Viserio/Component/Parser/Parser/TomlParser.php
public function parse(string $payload): array
    {
        try {
            return YosymfonyToml::parse($payload);
        } catch (TomlParseException $exception) {
            throw new ParseException([
                'message' => 'Unable to parse the TOML string.',
                'line'    => $exception->getParsedLine(),
            ]);
        }
    }
public function parse(string $payload): array
    {
        try {
            return YosymfonyToml::parse($payload);
        } catch (TomlParseException $exception) {
            throw new ParseException([
                'message' => 'Unable to parse the TOML string.',
                'line'    => $exception->getParsedLine(),
            ]);
        }
    }
{@inheritdoc}