Skip to content

Commit 1c622e4

Browse files
committed
Fix: Accurate return and data type
1 parent d6b2d29 commit 1c622e4

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

src/Config_Command.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1035,10 +1035,9 @@ private static function fetch_remote_salts( $insecure = false ) {
10351035
*
10361036
* @param string $name
10371037
* @param string $type
1038-
* @param array $values
1038+
* @param array<array{name: string, value: mixed, type: string}> $values
10391039
* @param string $wp_config_file_name Config file name
1040-
* @return mixed The value of the requested constant or variable as defined in the wp-config.php file; if the
1041-
* requested constant or variable is not defined then the function will print an error and exit.
1040+
* @return mixed|null Original PHP value from wp-config.php or null if not found.
10421041
*/
10431042
private function return_value( $name, $type, $values, $wp_config_file_name ) {
10441043
$results = [];

0 commit comments

Comments
 (0)