Skip to content

Commit 862daeb

Browse files
Update src/wp-admin/includes/class-wp-importer.php
Co-authored-by: Huzaifa Al Mesbah <[email protected]>
1 parent 2629cd9 commit 862daeb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/wp-admin/includes/class-wp-importer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ public function stop_the_insanity() {
291291
*
292292
* @param string $param The parameter name to retrieve.
293293
* @param bool $required Whether the parameter is required. Default false.
294-
* @return mixed The parameter value if found, null otherwise.
294+
* @return string|bool|null The parameter value or true if found, null otherwise.
295295
*/
296296
function get_cli_args( $param, $required = false ) {
297297
$args = $_SERVER['argv'];

0 commit comments

Comments
 (0)