From 1276f88e44a05e07d8fdc475c9bc6cf90e63d419 Mon Sep 17 00:00:00 2001 From: Emanuele Panzeri Date: Mon, 16 Feb 2026 15:19:48 +0100 Subject: [PATCH] Add sodium_crypto_secretbox_keygen function stub --- stubs/core.stub | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/stubs/core.stub b/stubs/core.stub index 37168e972d..3cb8df947f 100644 --- a/stubs/core.stub +++ b/stubs/core.stub @@ -52,6 +52,11 @@ function sodium_bin2base64(string $string, int $id): string {} */ function sodium_bin2hex(string $string): string {} +/** + * @return non-empty-string + */ +function sodium_crypto_secretbox_keygen(): string {} + /** * @return ($string is non-empty-string ? non-empty-string : string) */