Skip to content

Commit 9c7383a

Browse files
committed
Merge remote-tracking branch 'origin/main'
2 parents c450c51 + e6300fd commit 9c7383a

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

ai-command.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
require_once $ai_command_autoloader;
1616
}
1717

18-
WP_CLI::add_command( 'ai', function ( $args, $assoc_args ) {
18+
WP_CLI::add_command( 'ai', static function ( $args, $assoc_args ) {
1919
$server = new MCP\Server();
2020
$client = new MCP\Client($server);
2121

src/Entity/Tool.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44

55
namespace WP_CLI\AiCommand\Entity;
66

7+
use InvalidArgumentException;
8+
79
final class Tool
810
{
911

0 commit comments

Comments
 (0)