diff --git a/includes/woopay/class-woopay-session.php b/includes/woopay/class-woopay-session.php index 31c896b6f06..e9a8d7c026a 100644 --- a/includes/woopay/class-woopay-session.php +++ b/includes/woopay/class-woopay-session.php @@ -528,7 +528,7 @@ public static function get_init_session_request( $order_id = null, $key = null, /** * Recursively map an array. * - * @param function $callback The sanitize_text_field function. + * @param callable $callback The sanitize_text_field function. * @param array $array The nested array. * * @return array A new appearance array.