# zip-ai/0.0.8/lib/php-mcp-schema/src/Common/Protocol/DTO/EmptyResult.php

ZIP AI – AI Website Builder &amp; AI Agent (Beta), version 0.0.8. 30 lines.

- Page: https://pluginprobe.com/plugins/zip-ai/0.0.8/code/lib/php-mcp-schema/src/Common/Protocol/DTO/EmptyResult.php
- Raw: https://pluginprobe.com/plugins/zip-ai/0.0.8/raw/lib/php-mcp-schema/src/Common/Protocol/DTO/EmptyResult.php
- Modified: 2026-08-17T11:42:52+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/zip-ai/0.0.8/code/lib/php-mcp-schema/src/Common/Protocol/DTO/EmptyResult.php#L10-L20`.

```php
<?php

declare(strict_types=1);

namespace WP\McpSchema\Common\Protocol\DTO;

use WP\McpSchema\Client\Lifecycle\Union\ClientResultInterface;
use WP\McpSchema\Server\Lifecycle\Union\ServerResultInterface;

/**
 * A response that indicates success but carries no data.
 *
 * This class is a wrapper for {@see Result} that implements union interfaces.
 * In TypeScript, this is defined as: `type EmptyResult = Result`
 *
 * PHP requires actual classes for union interface implementation, so this wrapper
 * provides type-safe compatibility with:
 * - {@see ClientResultInterface}
 * - {@see ServerResultInterface}
 *
 * @mcp-domain Common
 * @mcp-subdomain Protocol
 * @mcp-version 2025-11-25
 */
class EmptyResult extends Result implements ClientResultInterface, ServerResultInterface
{
    // Inherits all functionality from Result.
    // This wrapper exists solely to implement union interfaces for type safety.
}

```
