diff --git a/functionMap.php b/functionMap.php index 6fe36ba..951b8c9 100644 --- a/functionMap.php +++ b/functionMap.php @@ -254,6 +254,7 @@ 'wp_get_archives' => ['($args is array{echo: false|0, ...} ? string|void : void)'], 'wp_get_comment_status' => ["'approved'|'spam'|'trash'|'unapproved'|false"], 'wp_get_elements_class_name' => ['lowercase-string&non-falsy-string'], + 'wp_get_environment_type' => ["'development'|'local'|'production'|'staging'"], 'wp_get_http_headers' => [null, 'deprecated' => 'false'], 'wp_get_inline_script_tag' => ['non-falsy-string', 'attributes' => 'array'], 'wp_get_link_cats' => ['($link_id is empty ? array{} : array>)'], diff --git a/tests/data/return/wp-get-environment-type.php b/tests/data/return/wp-get-environment-type.php new file mode 100644 index 0000000..6a37c3e --- /dev/null +++ b/tests/data/return/wp-get-environment-type.php @@ -0,0 +1,14 @@ +