aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/brick/math/src/Internal
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/brick/math/src/Internal')
-rw-r--r--vendor/brick/math/src/Internal/Calculator.php5
-rw-r--r--vendor/brick/math/src/Internal/Calculator/NativeCalculator.php2
2 files changed, 2 insertions, 5 deletions
diff --git a/vendor/brick/math/src/Internal/Calculator.php b/vendor/brick/math/src/Internal/Calculator.php
index 99b478193..a6eac799f 100644
--- a/vendor/brick/math/src/Internal/Calculator.php
+++ b/vendor/brick/math/src/Internal/Calculator.php
@@ -99,7 +99,7 @@ abstract class Calculator
* @param string $a The first operand.
* @param string $b The second operand.
*
- * @return array{0: bool, 1: bool, 2: string, 3: string} Whether $a and $b are negative, followed by their digits.
+ * @return array{bool, bool, string, string} Whether $a and $b are negative, followed by their digits.
*/
final protected function init(string $a, string $b) : array
{
@@ -677,9 +677,6 @@ abstract class Calculator
}
/**
- * @psalm-suppress InvalidOperand
- * @see https://github.com/vimeo/psalm/issues/4456
- *
* @param string $number A positive, binary number.
*
* @return string
diff --git a/vendor/brick/math/src/Internal/Calculator/NativeCalculator.php b/vendor/brick/math/src/Internal/Calculator/NativeCalculator.php
index a5f8a9b48..020a6338b 100644
--- a/vendor/brick/math/src/Internal/Calculator/NativeCalculator.php
+++ b/vendor/brick/math/src/Internal/Calculator/NativeCalculator.php
@@ -610,7 +610,7 @@ class NativeCalculator extends Calculator
* @param string $a The first operand.
* @param string $b The second operand.
*
- * @return array{0: string, 1: string, 2: int}
+ * @return array{string, string, int}
*/
private function pad(string $a, string $b) : array
{