Skip to content

Commit 04dc5ba

Browse files
author
klapaudius
committed
move phpdoc block
1 parent b9da67e commit 04dc5ba

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/Command/MakeMcpToolCommand.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -179,12 +179,6 @@ protected function replaceStubPlaceholders(string $stub, string $className, stri
179179
);
180180
}
181181

182-
/**
183-
* Register the tool in the MCP server configuration file.
184-
*
185-
* @param string $toolClassName Fully qualified class name of the tool
186-
* @return bool Whether registration was successful
187-
*/
188182
/**
189183
* Detect indentation level for YAML tools entries.
190184
*
@@ -211,6 +205,12 @@ protected function detectYamlIndentation(string $content): int
211205
return $indentation ?? 8;
212206
}
213207

208+
/**
209+
* Register the tool in the MCP server configuration file.
210+
*
211+
* @param string $toolClassName Fully qualified class name of the tool
212+
* @return bool Whether registration was successful
213+
*/
214214
protected function registerToolInConfig(string $toolClassName): bool
215215
{
216216
$configPath = $this->kernel->getProjectDir().'/config/packages/klp_mcp_server.yaml';

0 commit comments

Comments
 (0)