Skip to content

Commit b21927f

Browse files
author
Stanislav Idolov
authored
ENGCOM-1578: [Forwardport] Fixed typo in method name #15274
2 parents e65dac4 + f4bfe4f commit b21927f

File tree

1 file changed

+2
-2
lines changed
  • lib/internal/Magento/Framework/App/Request

1 file changed

+2
-2
lines changed

lib/internal/Magento/Framework/App/Request/Http.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ public function setPathInfo($pathInfo = null)
149149
return $this;
150150
}
151151

152-
$requestUri = $this->removeRepitedSlashes($requestUri);
152+
$requestUri = $this->removeRepeatedSlashes($requestUri);
153153
$parsedRequestUri = explode('?', $requestUri, 2);
154154
$queryString = !isset($parsedRequestUri[1]) ? '' : '?' . $parsedRequestUri[1];
155155
$baseUrl = $this->getBaseUrl();
@@ -172,7 +172,7 @@ public function setPathInfo($pathInfo = null)
172172
* @param string $pathInfo
173173
* @return string
174174
*/
175-
private function removeRepitedSlashes($pathInfo)
175+
private function removeRepeatedSlashes($pathInfo)
176176
{
177177
$firstChar = (string)substr($pathInfo, 0, 1);
178178
if ($firstChar == '/') {

0 commit comments

Comments
 (0)