Skip to content

Incorrect payment type-related input and return types #55

Open
@Poitrin

Description

Summary
Documentation has some incorrect input and return types.

Expected documentation

  1. shop.enabled_payment_types should return an array of strings (see examples, where enabled_payment_types is used in a loop)
  2. For payment_type_svg_tag, syntax should be string | payment_type_svg_tag

Actual documentation

  1. shop.enabled_payment_types returns string
  2. For payment_type_svg_tag, syntax is type | payment_type_svg_tag

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions