Skip to content

Commit 610a302

Browse files
committed
Apply suggestions from code review
1 parent 37b653f commit 610a302

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

includes/abilities-api/class-wp-ability.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -316,10 +316,10 @@ protected function do_execute( array $input ) {
316316
*
317317
* @since 0.1.0
318318
*
319-
* @param mixed $result The raw result from the execute callback (can be any type or \WP_Error).
319+
* @param mixed|\WP_Error $result The raw result from the execute callback (can be any type or \WP_Error).
320320
* @param string $ability_name The ability name.
321321
* @param array<string,mixed> $input The input passed to the ability.
322-
* @return mixed The filtered result.
322+
* @return mixed|\WP_Error The filtered result.
323323
*/
324324
return apply_filters( 'ability_execute_result', $result, $this->name, $input );
325325
}

0 commit comments

Comments
 (0)