core/lib/Drupal/Core/Url.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/lib/Drupal/Core/Url.php b/core/lib/Drupal/Core/Url.php index fe811ac..151fa35 100644 --- a/core/lib/Drupal/Core/Url.php +++ b/core/lib/Drupal/Core/Url.php @@ -273,11 +273,11 @@ public static function fromUri($uri, $options = []) { if ($uri_parts === FALSE) { throw new \InvalidArgumentException("The URI '$uri' is malformed."); } - // We support protocol-relative URLs. + // Support protocol-relative URLs. if (strpos($uri, '//') === 0) { $uri_parts['scheme'] = ''; } - // We support root-relative URLs. + // Support root-relative URLs. elseif (strpos($uri, '/') === 0) { $uri_parts['scheme'] = 'base'; }