Introducing schema component #21
Annotations
10 errors
|
qa:
src/Schema/JsonRpc/BatchResponse.php#L35
Method Mcp\Schema\JsonRpc\BatchResponse::fromArray() has parameter $data with no value type specified in iterable type array.
|
|
qa:
src/Schema/JsonRpc/BatchRequest.php#L149
Method Mcp\Schema\JsonRpc\BatchRequest::jsonSerialize() return type has no value type specified in iterable type array.
|
|
qa:
src/Schema/JsonRpc/BatchRequest.php#L46
Strict comparison using !== between null and mixed will always evaluate to true.
|
|
qa:
src/Schema/JsonRpc/BatchRequest.php#L35
Method Mcp\Schema\JsonRpc\BatchRequest::fromArray() has parameter $data with no value type specified in iterable type array.
|
|
qa:
src/Schema/JsonRpc/BatchRequest.php#L26
Method Mcp\Schema\JsonRpc\BatchRequest::__construct() has parameter $items with no value type specified in iterable type array.
|
|
qa:
src/Schema/Implementation.php#L29
Method Mcp\Schema\Implementation::fromArray() has parameter $data with no value type specified in iterable type array.
|
|
qa:
src/Schema/ClientCapabilities.php#L59
Method Mcp\Schema\ClientCapabilities::jsonSerialize() return type has no value type specified in iterable type array.
|
|
qa:
src/Schema/ClientCapabilities.php#L35
Method Mcp\Schema\ClientCapabilities::fromArray() has parameter $data with no value type specified in iterable type array.
|
|
qa:
src/Schema/ClientCapabilities.php#L27
Method Mcp\Schema\ClientCapabilities::__construct() has parameter $experimental with no value type specified in iterable type array.
|
|
qa:
src/Schema/ClientCapabilities.php#L18
PHPDoc tag @phpstan-type ClientCapabilitiesData has invalid value: Unexpected token "@author", expected type at offset 319 on line 10
|