Skip to content

Commit 83948a2

Browse files
committed
Fix template is default from mixed
1 parent 764861c commit 83948a2

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/Schema/Elicitation/Builder/PrimitiveSchemaDefinitionBuilder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
use Nexus\Mcp\Schema\Elicitation\PrimitiveSchemaDefinition;
1717

1818
/**
19-
* @template T of mixed
19+
* @template T
2020
* @template U of array<string, mixed>
2121
*/
2222
abstract class PrimitiveSchemaDefinitionBuilder

src/Schema/Elicitation/RequestedSchema.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ final class RequestedSchema implements \JsonSerializable, Arrayable
3838
private function __construct() {}
3939

4040
/**
41-
* @template T of mixed
41+
* @template T
4242
* @template U of array<string, mixed>
4343
*
4444
* @param PrimitiveSchemaDefinitionBuilder<covariant T, covariant U> ...$properties
@@ -64,7 +64,7 @@ public static function fromProperties(PrimitiveSchemaDefinitionBuilder ...$prope
6464
* If a property with the same name already exists, it will not be added again.
6565
* This method does not mark the property as required. Use `markAsRequired` for that.
6666
*
67-
* @template T of mixed
67+
* @template T
6868
* @template U of array<string, mixed>
6969
*
7070
* @param PrimitiveSchemaDefinitionBuilder<covariant T, covariant U> $property

src/Schema/Result/Result.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
* The base result object that is passed to a JSON-RPC response.
2020
*
2121
* @template TArray of array<string, mixed>
22-
* @template TJson of mixed = TArray
22+
* @template TJson = TArray
2323
*
2424
* @implements Arrayable<TArray>
2525
*/

0 commit comments

Comments
 (0)