PluginProbe
WPFunnels – Funnel Builder for WooCommerce with Checkout & One Click Upsell / 3.13.3
WPFunnels – Funnel Builder for WooCommerce with Checkout & One Click Upsell v3.13.3
3.13.4 3.13.3 3.13.2 3.13.1 3.13.0 3.12.13 3.12.12 3.12.11 3.12.10 3.12.9 3.12.8 3.12.7 3.12.6 3.12.5 3.12.4 3.12.3 3.12.1 3.12.2 3.12.0 3.11.1 3.11.0 3.10.9 3.10.8 3.10.7 3.10.6 All 262 releases
wpfunnels / vendor / wordpress / php-mcp-schema / src / Common / Protocol / DTO / EmptyResult.php

EmptyResult.php in WPFunnels – Funnel Builder for WooCommerce with Checkout & One Click Upsell 3.13.3, at vendor/wordpress/php-mcp-schema/src/Common/Protocol/DTO/EmptyResult.php

30 lines 915 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 declare(strict_types=1);
4
5 namespace WP\McpSchema\Common\Protocol\DTO;
6
7 use WP\McpSchema\Client\Lifecycle\Union\ClientResultInterface;
8 use WP\McpSchema\Server\Lifecycle\Union\ServerResultInterface;
9
10 /**
11 * A response that indicates success but carries no data.
12 *
13 * This class is a wrapper for {@see Result} that implements union interfaces.
14 * In TypeScript, this is defined as: `type EmptyResult = Result`
15 *
16 * PHP requires actual classes for union interface implementation, so this wrapper
17 * provides type-safe compatibility with:
18 * - {@see ClientResultInterface}
19 * - {@see ServerResultInterface}
20 *
21 * @mcp-domain Common
22 * @mcp-subdomain Protocol
23 * @mcp-version 2025-11-25
24 */
25 class EmptyResult extends Result implements ClientResultInterface, ServerResultInterface
26 {
27 // Inherits all functionality from Result.
28 // This wrapper exists solely to implement union interfaces for type safety.
29 }
30