feat: extend Bc methods to accept int|float|string inputs (closes #1)
PHP Composer / build (pull_request) Failing after 23s
PHP Composer / build (pull_request) Failing after 23s
- All Bc scalar methods now accept int|float|string instead of string only - Array methods accept array<int|float|string> - Added (string) casts before Guard::isNumeric() calls - PHPStan @phpstan-ignore-line for bcmath numeric-string constraints - Removed redundant @param docblocks (types in signatures, per cs-fixer)
This commit is contained in:
+2
-6
@@ -14,13 +14,9 @@
|
||||
}
|
||||
},
|
||||
"repositories": [
|
||||
{
|
||||
"type": "git",
|
||||
"url": "https://gitea.root-zone.info/tez/tez-utils-validate.git"
|
||||
},
|
||||
{
|
||||
"type": "git",
|
||||
"url": "https://github.com/tezmanian/tez-utils-validate.git"
|
||||
"type": "git",
|
||||
"url": "https://github.com/tezmanian/tez-utils-validate.git"
|
||||
}
|
||||
],
|
||||
"require": {
|
||||
|
||||
Reference in New Issue
Block a user