Skip to content

Commit 23e8e06

Browse files
fix: clean up docblocks for request handler methods in Builder
1 parent e9a6a9a commit 23e8e06

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/Server/Builder.php

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -176,8 +176,7 @@ public function setCapabilities(ServerCapabilities $serverCapabilities): self
176176

177177
/**
178178
* Register a single custom method handler.
179-
*/
180-
/**
179+
*
181180
* @param RequestHandlerInterface<mixed> $handler
182181
*/
183182
public function addRequestHandler(RequestHandlerInterface $handler): self
@@ -190,9 +189,6 @@ public function addRequestHandler(RequestHandlerInterface $handler): self
190189
/**
191190
* Register multiple custom method handlers.
192191
*
193-
* @param iterable<int, RequestHandlerInterface> $handlers
194-
*/
195-
/**
196192
* @param iterable<RequestHandlerInterface<mixed>> $handlers
197193
*/
198194
public function addRequestHandlers(iterable $handlers): self

0 commit comments

Comments
 (0)