Skip to content

Commit ca616c3

Browse files
authored
encoding functions returns non-empty-string
1 parent 924d5c4 commit ca616c3

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

stubs/core.stub

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,3 +47,23 @@ function highlight_string($var, bool $return = false) {}
4747
* @return ($return is true ? string : true)
4848
*/
4949
function print_r($var, bool $return = false) {}
50+
51+
/**
52+
* @return ($string is non-empty-string ? non-empty-string : string)
53+
*/
54+
function sodium_bin2base64(string $string, int $id): string {}
55+
56+
/**
57+
* @return ($string is non-empty-string ? non-empty-string : string)
58+
*/
59+
function sodium_bin2hex(string $string): string {}
60+
61+
/**
62+
* @return ($string is non-empty-string ? non-empty-string : string)
63+
*/
64+
function base64_encode(string $string) : string {}
65+
66+
/**
67+
* @return ($string is non-empty-string ? non-empty-string : string)
68+
*/
69+
function bin2hex(string $string): string {}

0 commit comments

Comments
 (0)