Skip to content

Commit

Permalink
fixed comment and removed string declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
jcvignoli committed Jan 4, 2025
1 parent 643b411 commit 7c59703
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions stubs/WordPress/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 ) {
}

/**
Expand Down

0 comments on commit 7c59703

Please sign in to comment.