File tree Expand file tree Collapse file tree 2 files changed +10
-6
lines changed
Expand file tree Collapse file tree 2 files changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -71,12 +71,15 @@ public function getConfigTreeBuilder(): TreeBuilder
7171 ->end ()
7272 ->end ()
7373 ->end ()
74- ->defaultValue ([
75- [
76- 'base_path ' => '%sylius_mcp_server.plugin_root% ' ,
77- 'scan_dirs ' => ['src/Tool ' ],
78- ],
79- ])
74+ ->beforeNormalization ()
75+ ->always (function ($ v ) {
76+ $ v [] = [
77+ 'base_path ' => '%sylius_mcp_server.plugin_root% ' ,
78+ 'scan_dirs ' => ['src/Tool ' ],
79+ ];
80+ return $ v ;
81+ })
82+ ->end ()
8083 ->end ()
8184 ->end ()
8285 ->end ()
Original file line number Diff line number Diff line change @@ -57,6 +57,7 @@ public function create(): Server
5757 $ server ->discover (
5858 basePath: $ discoveryLocation ['base_path ' ],
5959 scanDirs: $ discoveryLocation ['scan_dirs ' ],
60+ force: true ,
6061 );
6162 }
6263
You can’t perform that action at this time.
0 commit comments