Skip to content

Incorrect type annotations in \AbraFlexi\Exception class #52

@jaroslavlibal

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingdocumentationImprovements or additions to documentationgood first issueGood for newcomersinvalidThis doesn't seem right

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions