Skip to content

Commit 48ec86a

Browse files
committed
Move line down
1 parent 5e8f6bb commit 48ec86a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/McpServerCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,8 +188,8 @@ public function update( $args, array $assoc_args ): void {
188188
}
189189

190190
foreach ( $server as $key => $value ) {
191-
$new_value = $assoc_args[ $key ];
192191
if ( isset( $assoc_args[ $key ] ) ) {
192+
$new_value = $assoc_args[ $key ];
193193
if ( 'status' === $key ) {
194194
$new_value = 'inactive' === $new_value ? 'active' : 'inactive';
195195
}

0 commit comments

Comments
 (0)