Skip to content

Commit 0c2ab3b

Browse files
authored
Add sodium_crypto_secretbox_keygen function stub (#4954)
1 parent 106fc93 commit 0c2ab3b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

stubs/core.stub

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,11 @@ function sodium_bin2base64(string $string, int $id): string {}
5252
*/
5353
function sodium_bin2hex(string $string): string {}
5454

55+
/**
56+
* @return non-empty-string
57+
*/
58+
function sodium_crypto_secretbox_keygen(): string {}
59+
5560
/**
5661
* @return ($string is non-empty-string ? non-empty-string : string)
5762
*/

0 commit comments

Comments
 (0)