Skip to content

Commit f1cb36f

Browse files
committed
Fix array key
1 parent 143c2f9 commit f1cb36f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/MCP/Servers/WP_CLI/Tools/CliCommands.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ public function get_tools(): array {
106106
'properties' => $properties,
107107
'required' => $required,
108108
],
109-
'callable' => function ( $params ) use ( $command_name, $synopsis_spec ) {
109+
'callback' => function ( $params ) use ( $command_name, $synopsis_spec ) {
110110
$args = [];
111111
$assoc_args = [];
112112

0 commit comments

Comments
 (0)