diff --git a/stubs/WordPress/functions.php b/stubs/WordPress/functions.php index 68a682d..a298a89 100644 --- a/stubs/WordPress/functions.php +++ b/stubs/WordPress/functions.php @@ -317,11 +317,11 @@ function checked( $checked, $current = false, $echo = false ) { /** * @param string $capability - * @param mixed $args + * @param mixed ...$args * * @return bool */ -function current_user_can( string $capability, ...$args ) { +function current_user_can( $capability, ...$args ) { } /**