summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoris Vercammen2018-11-24 12:07:49 (GMT)
committerJoris Vercammen2018-11-24 12:07:49 (GMT)
commit63a3765d91e7db582ab0f0b47ffdc843cea939cd (patch)
treec1e9a63aa80907cdb90507ab325111070236f54f
parent1dc3c40cf5fb2eb5b0505accb02aa2c851805dfd (diff)
Issue #3012767: Clean up text by removing duplicate words
-rw-r--r--src/Plugin/facets/url_processor/QueryString.php2
-rw-r--r--src/Utility/FacetsDateHandler.php2
-rw-r--r--tests/src/Functional/IntegrationTest.php2
-rw-r--r--tests/src/Functional/ProcessorIntegrationTest.php2
-rw-r--r--tests/src/Functional/WidgetIntegrationTest.php2
5 files changed, 5 insertions, 5 deletions
diff --git a/src/Plugin/facets/url_processor/QueryString.php b/src/Plugin/facets/url_processor/QueryString.php
index 3867f1e..52a5ab5 100644
--- a/src/Plugin/facets/url_processor/QueryString.php
+++ b/src/Plugin/facets/url_processor/QueryString.php
@@ -53,7 +53,7 @@ class QueryString extends UrlProcessorPluginBase {
$get_params->remove('page');
}
- // Set the url alias from the the facet object.
+ // Set the url alias from the facet object.
$this->urlAlias = $facet->getUrlAlias();
$request = $this->request;
diff --git a/src/Utility/FacetsDateHandler.php b/src/Utility/FacetsDateHandler.php
index 7543271..8ba5542 100644
--- a/src/Utility/FacetsDateHandler.php
+++ b/src/Utility/FacetsDateHandler.php
@@ -128,7 +128,7 @@ class FacetsDateHandler {
* A string containing the gap, see FACETS_DATE_* constants for valid
* values.
* @param string $min_gap
- * A string containing the the minimum gap that can be returned, defaults to
+ * A string containing the minimum gap that can be returned, defaults to
* FACETS_DATE_SECOND. This is useful for defining the smallest increment
* that can be used in a date drilldown.
*
diff --git a/tests/src/Functional/IntegrationTest.php b/tests/src/Functional/IntegrationTest.php
index 6a915eb..71d8e35 100644
--- a/tests/src/Functional/IntegrationTest.php
+++ b/tests/src/Functional/IntegrationTest.php
@@ -283,7 +283,7 @@ class IntegrationTest extends FacetsTestBase {
];
$this->drupalPostForm(NULL, $edit, 'Save');
- // Go the the view and test only the type facet is shown.
+ // Go to the view and test only the type facet is shown.
$this->drupalGet('search-api-test-fulltext');
$this->assertFacetLabel('item');
$this->assertFacetLabel('article');
diff --git a/tests/src/Functional/ProcessorIntegrationTest.php b/tests/src/Functional/ProcessorIntegrationTest.php
index 535f0f7..d2919ce 100644
--- a/tests/src/Functional/ProcessorIntegrationTest.php
+++ b/tests/src/Functional/ProcessorIntegrationTest.php
@@ -745,7 +745,7 @@ class ProcessorIntegrationTest extends FacetsTestBase {
$id = 'masked_owl';
$this->createFacet('Australian masked owl', $id);
- // Go the the facet edit page and check to see if the custom processor shows
+ // Go to the facet edit page and check to see if the custom processor shows
// up.
$this->drupalGet('admin/config/search/facets/' . $id . '/edit');
$this->assertSession()->pageTextContains('test pre query');
diff --git a/tests/src/Functional/WidgetIntegrationTest.php b/tests/src/Functional/WidgetIntegrationTest.php
index 0e821f2..5a2eeea 100644
--- a/tests/src/Functional/WidgetIntegrationTest.php
+++ b/tests/src/Functional/WidgetIntegrationTest.php
@@ -159,7 +159,7 @@ class WidgetIntegrationTest extends FacetsTestBase {
$id = 'masked_owl';
$this->createFacet('Australian masked owl', $id);
- // Go the the facet edit page and check to see if the custom widget shows
+ // Go to the facet edit page and check to see if the custom widget shows
// up.
$this->drupalGet('admin/config/search/facets/' . $id . '/edit');
$this->assertSession()->pageTextContains('Custom widget');