From 7080776202c9fe946f22e2d4498e55369f68ed83 Mon Sep 17 00:00:00 2001 From: Daniil Gentili Date: Tue, 20 Oct 2026 11:45:53 +0200 Subject: [PATCH] Use the PHP_URL_* wildcard in the wp_parse_url stub again Psalm now supports global constant wildcards (vimeo/psalm#12419). Claude-Session: https://claude.ai/code/session_01WNSb29tptiTQoc44Tk7XZW --- stubs/overrides.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stubs/overrides.php b/stubs/overrides.php index 8a13b41..a024ebe 100644 --- a/stubs/overrides.php +++ b/stubs/overrides.php @@ -91,7 +91,7 @@ function apply_filters( string $hook_name, $value, ...$args ) {} * | PHP_URL_QUERY | 6 | * | PHP_URL_FRAGMENT | 7 | * - * @template TComponent of (-1|0|1|2|3|4|5|6|7) + * @template TComponent of (-1|PHP_URL_*) * @param string $url * @param TComponent $component * @return (