File tree Expand file tree Collapse file tree 3 files changed +1
-4
lines changed Expand file tree Collapse file tree 3 files changed +1
-4
lines changed Original file line number Diff line number Diff line change 1414use Mcp \Exception \InvalidArgumentException ;
1515use Mcp \Exception \InvalidInputMessageException ;
1616use Mcp \Schema \JsonRpc \HasMethodInterface ;
17- use Mcp \Schema \JsonRpc \MessageInterface ;
1817use Mcp \Schema \Notification ;
1918use Mcp \Schema \Request ;
2019
@@ -111,7 +110,7 @@ public function create(string $input): iterable
111110 /**
112111 * @return class-string<HasMethodInterface>
113112 */
114- private function getType (string $ method/**/ ): string
113+ private function getType (string $ method ): string
115114 {
116115 foreach (self ::REGISTERED_MESSAGES as $ type ) {
117116 if ($ type ::getMethod () === $ method ) {
Original file line number Diff line number Diff line change 1111
1212namespace Mcp \Tests \JsonRpc ;
1313
14- use Mcp \Exception \InvalidArgumentException ;
1514use Mcp \Exception \InvalidInputMessageException ;
1615use Mcp \JsonRpc \MessageFactory ;
1716use Mcp \Schema \Notification \CancelledNotification ;
Original file line number Diff line number Diff line change 1313
1414namespace Mcp \Tests \Server ;
1515
16- use Mcp \JsonRpc \MessageFactory ;
1716use Mcp \Schema \Notification \PromptListChangedNotification ;
1817use Mcp \Schema \Notification \ResourceListChangedNotification ;
1918use Mcp \Schema \Notification \ToolListChangedNotification ;
You can’t perform that action at this time.
0 commit comments