Skip to content

Conversation

@tehbeard
Copy link
Contributor

Fixes issue where:

$text = sodium_base642bin($encodedText, SODIUM_BASE64_VARIANT_ORIGINAL_NO_PADDING);

is flagged with error: "Function sodium_base642bin invoked with 2 parameters, 3 required."

Correct signature is: sodium_base642bin(string $string, int $id, string $ignore = ""): string

@ondrejmirtes ondrejmirtes merged commit 7906779 into phpstan:master Aug 25, 2021
@ondrejmirtes
Copy link
Member

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants