diff --git a/build/psalm.xml b/build/psalm.xml index b521dbfe..0a3f8db6 100644 --- a/build/psalm.xml +++ b/build/psalm.xml @@ -7,7 +7,6 @@ xsi:schemaLocation="https://getpsalm.org/schema/config vendor/vimeo/psalm/config.xsd" findUnusedPsalmSuppress="true" sealAllMethods="true" - errorBaseline="psalm_baseline.xml" > @@ -27,5 +26,20 @@ + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/phpseclib/Math/BinaryField.php b/phpseclib/Math/BinaryField.php index 58f5c148..e0bc4915 100644 --- a/phpseclib/Math/BinaryField.php +++ b/phpseclib/Math/BinaryField.php @@ -162,7 +162,7 @@ class BinaryField extends FiniteField * Converts a base-2 string to a base-256 string * * @param string $x - * @param integer $size + * @param int|null $size * @return string */ public static function base2ToBase256($x, $size = null) @@ -196,3 +196,4 @@ class BinaryField extends FiniteField return Strings::bin2bits($x); } } +