Skip to content

Commit f83b559

Browse files
thg2kondrejmirtes
authored andcommitted
Improve signature for get_defined_constants()
1 parent 79385bd commit f83b559

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Diff for: stubs/core.stub

+5
Original file line numberDiff line numberDiff line change
@@ -328,3 +328,8 @@ function ltrim(string $string, string $characters = " \n\r\t\v\x00"): string {}
328328
* @return ($string is lowercase-string ? lowercase-string : string)
329329
*/
330330
function rtrim(string $string, string $characters = " \n\r\t\v\x00"): string {}
331+
332+
/**
333+
* @return ($categorize is true ? array<string, array<string, mixed>> : array<string, mixed>)
334+
*/
335+
function get_defined_constants(bool $categorize = false): array {}

0 commit comments

Comments
 (0)