Closed FilipCZ closed 1 year ago
This isn't valid PHPDoc syntax: https://phpstan.org/r/81c961dd-e518-4131-8159-092af5d04e65
You need the ()
at the end: https://phpstan.org/r/37ed5bcf-4a98-45da-b83b-574bca67acea
So the solution is: send a PR to https://github.com/slince/shopify-api-php and fix their PHPDocs
Alternatively you can fix wrong PHPDocs with stub files: https://phpstan.org/user-guide/stub-files
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Hello, in several classes as part of the project, after testing (PHPStan level 2), I'm encountering errors of the type Slince\Shopify\Client::methodName(). Could you please advise me on how to resolve these issues? Thank you.