From f90141df74ee0861e6001a1741b646e595a93b5f Mon Sep 17 00:00:00 2001
From: Lee Rowlands <lee.rowlands@previousnext.com.au>
Date: Tue, 29 Sep 2020 13:48:56 +1000
Subject: [PATCH] Issue #3173435 by anmolgoyal74: Repeated 'not' word in
 PharExtensionInterceptor.php

---
 core/lib/Drupal/Core/Security/PharExtensionInterceptor.php | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/core/lib/Drupal/Core/Security/PharExtensionInterceptor.php b/core/lib/Drupal/Core/Security/PharExtensionInterceptor.php
index 0d8e8e8304c1..6f6e161e669d 100644
--- a/core/lib/Drupal/Core/Security/PharExtensionInterceptor.php
+++ b/core/lib/Drupal/Core/Security/PharExtensionInterceptor.php
@@ -60,8 +60,8 @@ private function baseFileContainsPharExtension($path) {
       return FALSE;
     }
     // If the stream wrapper is registered by invoking a phar file that does
-    // not not have .phar extension then this should be allowed. For
-    // example, some CLI tools recommend removing the extension.
+    // not have .phar extension then this should be allowed. For example, some
+    // CLI tools recommend removing the extension.
     $backtrace = debug_backtrace(DEBUG_BACKTRACE_IGNORE_ARGS);
     // Find the last entry in the backtrace containing a 'file' key as
     // sometimes the last caller is executed outside the scope of a file. For
-- 
GitLab