Skip to content

Commit 5a91c54

Browse files
authored
Merge pull request #5929 from Chintesh/enhance/fun-comments
2 parents a48b2ec + 298de06 commit 5a91c54

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

php/WP_CLI/Bootstrap/AutoloaderStep.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public function process( BootstrapState $state ) {
3535
$autoloader_paths = $this->get_autoloader_paths();
3636

3737
if ( false === $autoloader_paths ) {
38-
// Skip this autoloading step.
38+
// Skip this autoload step.
3939
return $state;
4040
}
4141

php/WP_CLI/Bootstrap/IncludeFallbackAutoloader.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@ final class IncludeFallbackAutoloader extends AutoloaderStep {
1717
/**
1818
* Get the autoloader paths to scan for an autoloader.
1919
*
20-
* @return string[]|false Array of strings with autoloader paths, or false
21-
* to skip.
20+
* @return string[] Array of autoloader paths, or an empty array if none are found.
2221
*/
2322
protected function get_autoloader_paths() {
2423
$autoloader_paths = [

php/WP_CLI/Dispatcher/Subcommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -506,7 +506,7 @@ public function invoke( $args, $assoc_args, $extra_args ) {
506506
* Get an array of parameter names, by merging the command-specific and the
507507
* global parameters.
508508
*
509-
* @param array $spec Optional. Specification of the current command.
509+
* @param array $spec Optional. Specification of the current command.
510510
*
511511
* @return array Array of parameter names
512512
*/

0 commit comments

Comments
 (0)