Spoje-NET / Spoje-NET/php-abraflexi
Incorrect type annotations in \AbraFlexi\Exception class
Open
@Vitexus is already working on this.
Since Nov 19, 2024.
bug
documentation
good first issue
invalid
- Dominant language
- PHP
- Stars
- 24
- Forks
- 13
- PR merge metrics
- No merged PRs in 30d
Description
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á."
}
}
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.