Skip to content

Commit cd9810e

Browse files
authored
Remove unused resource-template stub and update JsonSchema import (#122)
1 parent 742837a commit cd9810e

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/Server/McpServiceProvider.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ protected function registerPublishing(): void
4747
$this->publishes([
4848
__DIR__.'/../../stubs/prompt.stub' => base_path('stubs/prompt.stub'),
4949
__DIR__.'/../../stubs/resource.stub' => base_path('stubs/resource.stub'),
50-
__DIR__.'/../../stubs/resource-template.stub' => base_path('stubs/resource-template.stub'),
5150
__DIR__.'/../../stubs/server.stub' => base_path('stubs/server.stub'),
5251
__DIR__.'/../../stubs/tool.stub' => base_path('stubs/tool.stub'),
5352
], 'mcp-stubs');

tests/Unit/Methods/CallToolTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
use Illuminate\JsonSchema\JsonSchema;
3+
use Illuminate\Contracts\JsonSchema\JsonSchema;
44
use Laravel\Mcp\Request;
55
use Laravel\Mcp\Response;
66
use Laravel\Mcp\Server\Exceptions\JsonRpcException;

0 commit comments

Comments
 (0)