Allow divisor in mod to be a number as well #521
Annotations
14 errors and 1 warning
ArgumentTypeCoercion:
src/Money.php#L290
src/Money.php:290:63: ArgumentTypeCoercion: Argument 2 of Money\Calculator::mod expects numeric-string, but parent type string provided (see https://psalm.dev/193)
|
Psalm
Process completed with exit code 2.
|
ArgumentTypeCoercion:
src/Money.php#L290
src/Money.php:290:63: ArgumentTypeCoercion: Argument 2 of Money\Calculator::mod expects numeric-string, but parent type string provided (see https://psalm.dev/193)
|
Build (8.0)
Process completed with exit code 2.
|
Build (8.2)
The job was canceled because "_8_0" failed.
|
ArgumentTypeCoercion:
src/Money.php#L290
src/Money.php:290:63: ArgumentTypeCoercion: Argument 2 of Money\Calculator::mod expects numeric-string, but parent type string provided (see https://psalm.dev/193)
|
Build (8.2)
Process completed with exit code 2.
|
ArgumentTypeCoercion:
src/Money.php#L290
src/Money.php:290:63: ArgumentTypeCoercion: Argument 2 of Money\Calculator::mod expects numeric-string, but parent type string provided (see https://psalm.dev/193)
|
Build lowest version
Process completed with exit code 2.
|
Build (8.1)
The job was canceled because "_8_0" failed.
|
ArgumentTypeCoercion:
src/Money.php#L290
src/Money.php:290:63: ArgumentTypeCoercion: Argument 2 of Money\Calculator::mod expects numeric-string, but parent type string provided (see https://psalm.dev/193)
|
Build (8.1)
The operation was canceled.
|
Build (8.3)
The job was canceled because "_8_0" failed.
|
Build (8.3)
The operation was canceled.
|
Docs
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-python@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|