Unverified Commit 7dcb6fa2 authored by Alex Pott's avatar Alex Pott
Browse files

Issue #3121362 by jungle, Meenakshi.g, dww, xjm, alexpott, tim.plunkett: Fix...

Issue #3121362 by jungle, Meenakshi.g, dww, xjm, alexpott, tim.plunkett: Fix duplicate word typos (the the, to to, etc.) for code comments

(cherry picked from commit cc564e26)
parent cd6370b9
Loading
Loading
Loading
Loading
+1 −1
Changes for core/lib/Drupal/Component/FileSystem/RegexDirectoryIterator.php: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -24,7 +24,7 @@ class RegexDirectoryIterator extends \FilterIterator {
   *   /\.yml$/ would list only files ending in .yml.
   */
  public function __construct($path, $regex) {
    // Use FilesystemIterator to not iterate over the the . and .. directories.
    // Use FilesystemIterator to not iterate over the . and .. directories.
    $iterator = new \FilesystemIterator($path);
    parent::__construct($iterator);
    $this->regex = $regex;
+1 −1
Changes for core/lib/Drupal/Core/Installer/Form/SelectProfileForm.php: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -94,7 +94,7 @@ public function buildForm(array $form, FormStateInterface $form_state, $install_
      $extensions = $sync->read('core.extension');
      $site = $sync->read('system.site');
      if (isset($site['name']) && isset($extensions['profile']) && in_array($extensions['profile'], array_keys($names), TRUE)) {
        // Ensure the the profile can be installed from configuration. Install
        // Ensure the profile can be installed from configuration. Install
        // profile's which implement hook_INSTALL() are not supported.
        // @todo https://www.drupal.org/project/drupal/issues/2982052 Remove
        //   this restriction.
+1 −1
Changes for core/lib/Drupal/Core/Menu/DefaultMenuLinkTreeManipulators.php: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -75,7 +75,7 @@ public function __construct(AccessManagerInterface $access_manager, AccountInter
   * This is why inaccessible subtrees are deleted, except at the top-level
   * inaccessible link: if we didn't keep the first (depth-wise) inaccessible
   * link, we wouldn't be able to know which cache contexts would cause those
   * subtrees to become accessible again, thus forcing us to conclude that that
   * subtrees to become accessible again, thus forcing us to conclude that the
   * subtree is unconditionally inaccessible.
   *
   * @param \Drupal\Core\Menu\MenuLinkTreeElement[] $tree
+1 −1
Changes for core/lib/Drupal/Core/Menu/MenuLinkManager.php: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -38,7 +38,7 @@ class MenuLinkManager implements MenuLinkManagerInterface {
    // or other safe source this may be a TranslatableMarkup object.
    'title' => '',
    // The description. If this came from a YAML definition or other safe source
    // this may be be a TranslatableMarkup object.
    // this may be a TranslatableMarkup object.
    'description' => '',
    // The plugin ID of the parent link (or NULL for a top-level link).
    'parent' => '',
+1 −1
Changes for core/lib/Drupal/Core/Pager/Pager.php: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -112,7 +112,7 @@ public function getCurrentPage() {
   * Gets the maximum number of items per page.
   *
   * @return int
   *   The the maximum number of items per page.
   *   The maximum number of items per page.
   */
  public function getLimit() {
    return $this->limit;
Loading