Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/Config_Command.php
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,9 @@
*
* [--dbpass=<dbpass>]
* : Set the database user password.
* ---
* sensitive: true
* ---
*
* [--dbhost=<dbhost>]
* : Set the database host.
Expand Down Expand Up @@ -723,7 +726,7 @@
}
}

$config_transformer->update( $type, $name, $value, $options );

Check failure on line 729 in src/Config_Command.php

View workflow job for this annotation

GitHub Actions / code-quality / PHPStan

Parameter #4 $options of method WPConfigTransformer::update() expects array<string, bool>, array<string, mixed> given.

} catch ( Exception $exception ) {
WP_CLI::error( "Could not process the '{$wp_config_file_name}' transformation.\nReason: {$exception->getMessage()}" );
Expand Down
Loading