Skip to content

Incorrect type annotations in \AbraFlexi\Exception class #52

Open

Description

@jaroslavlibal

Hello,

the $errorMessages property tn the \AbraFlexi\Exception class has an incorrect array<string> annotation, so do the getErrorMessages() and getErrorMessage() methods.

The getErrorMessages() method returns array of arrays like var_dumped below:

array(1) {
  [0]=>
  array(1) {
    ["message"]=>
    string(105) "Adresa https://server/c/company-name/faktura-vydana/xxx není platná."
  }
}

Introduced here: 23a0e12#diff-6c213693e8ea3922558d3fe889351f27b5054c289a507fa15289c29d56e53285R30

Activity

  1. self-assigned this
    on Nov 19, 2024
  2. added
    bug
    documentation
    good first issue
    invalid
    on Nov 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugdocumentationgood first issueinvalid

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions