Skip to content
This repository was archived by the owner on Dec 19, 2025. It is now read-only.
This repository was archived by the owner on Dec 19, 2025. It is now read-only.

Non-string fields are converted to string values due to str_replace #98

Description

@rogierkoppejan

Replacements are applied using str_replace in Parser.php, but this converts null or boolean value to string values ("" and "1" respectively), which breaks API spec. I suggest using str_replace only for string fields, as these are also the only ones that might contain any replacement values at all.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions