From 50d5d1122079880d84416b5f5eee40c092e5d320 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9on=20Avic=20Simmons?= Date: Sat, 27 Jun 2026 20:50:15 -0400 Subject: [PATCH] docs: fix typos and copy-paste errors in comments MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - CronCreateCommand.php: add missing closing parenthesis in help text - CronRunCommand.php: fix "regardless the" → "regardless of the" - ShellStrategy.php: fix docstring namespace Resolver → Strategy - StrategyInterface.php: fix docstring namespace Resolver → Strategy --- lib/Drupal/cron/Command/CronCreateCommand.php | 2 +- lib/Drupal/cron/Command/CronRunCommand.php | 2 +- lib/Drupal/cron/Strategy/ShellStrategy.php | 2 +- lib/Drupal/cron/Strategy/StrategyInterface.php | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/Drupal/cron/Command/CronCreateCommand.php b/lib/Drupal/cron/Command/CronCreateCommand.php index 3db2856..11f5c55 100644 --- a/lib/Drupal/cron/Command/CronCreateCommand.php +++ b/lib/Drupal/cron/Command/CronCreateCommand.php @@ -42,7 +42,7 @@ public function execute() { $job['name'] = $name; drush_log('', 'ok'); - drush_print(dt('The type of the job (can only be set to "shell" at this time.')); + drush_print(dt('The type of the job (can only be set to "shell" at this time).')); $type = drush_prompt(dt('Type')); while (!$this->validateType($type)) { drush_print(''); diff --git a/lib/Drupal/cron/Command/CronRunCommand.php b/lib/Drupal/cron/Command/CronRunCommand.php index d42edf0..fa507cd 100644 --- a/lib/Drupal/cron/Command/CronRunCommand.php +++ b/lib/Drupal/cron/Command/CronRunCommand.php @@ -32,7 +32,7 @@ public function configure(&$items) { ), 'required-arguments' => FALSE, 'options' => array( - 'force' => 'Run the specified job, regardless the state of the cron job.', + 'force' => 'Run the specified job, regardless of the state of the cron job.', ), ); } diff --git a/lib/Drupal/cron/Strategy/ShellStrategy.php b/lib/Drupal/cron/Strategy/ShellStrategy.php index 6de0dc2..b343e3f 100644 --- a/lib/Drupal/cron/Strategy/ShellStrategy.php +++ b/lib/Drupal/cron/Strategy/ShellStrategy.php @@ -1,7 +1,7 @@