File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -106,7 +106,7 @@ jobs:
106
106
- run : composer run-script auto-scripts --no-interaction
107
107
working-directory : demo
108
108
109
- - run : bin/console cache:clear
109
+ - run : bin/console lint:container
110
110
working-directory : demo
111
111
112
112
- name : Run demo tests
Original file line number Diff line number Diff line change 12
12
namespace Symfony \Component \DependencyInjection \Loader \Configurator ;
13
13
14
14
use Mcp \Server ;
15
- use Mcp \Server \ServerBuilder ;
15
+ use Mcp \Server \Builder ;
16
16
17
17
return static function (ContainerConfigurator $ container ): void {
18
18
$ container ->services ()
21
21
->args (['mcp ' ])
22
22
->tag ('monolog.logger ' , ['channel ' => 'mcp ' ])
23
23
24
- ->set ('mcp.server.builder ' , ServerBuilder ::class)
25
- ->factory ([Server::class, 'make ' ])
24
+ ->set ('mcp.server.builder ' , Builder ::class)
25
+ ->factory ([Server::class, 'builder ' ])
26
26
->call ('setServerInfo ' , [param ('mcp.app ' ), param ('mcp.version ' )])
27
27
->call ('setPaginationLimit ' , [param ('mcp.pagination_limit ' )])
28
28
->call ('setInstructions ' , [param ('mcp.instructions ' )])
You can’t perform that action at this time.
0 commit comments