*/ public function __invoke(): array { return array( 'page' => array( 'type' => 'integer', 'default' => 1, 'minimum' => 1, 'validate_callback' => static function ( $value ): bool { return is_numeric( $value ) && (int) $value > 0; }, ), 'statuses' => array( 'type' => 'string', 'description' => 'Comma-separated status buckets (ok,redirect,error)', 'sanitize_callback' => static function ( $value ): string { return is_string( $value ) ? $value : ''; }, ), ); } }