Error: src/Error.php:67:13: DocblockTypeContradiction: Cannot resolve types for $code - docblock-defined type int does not contain float (see https://psalm.dev/155
Also:
added missing return type declarations for the function's in src/Error.php
added missing /.phpcs-cache to .gitignore so it does not get committed to the repo
Description
Fixed an error thrown during Psalm analysis.
Also:
src/Error.php
/.phpcs-cache
to.gitignore
so it does not get committed to the repo