Skip to content

Commit 65545eb

Browse files
committed
fixed acronyms
1 parent 9609d63 commit 65545eb

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Firewall/ExceptionListener.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ private function startAuthentication(Request $request, AuthenticationException $
193193
*/
194194
protected function setTargetPath(Request $request)
195195
{
196-
// session isn't required when using http basic authentication mechanism for example
196+
// session isn't required when using HTTP basic authentication mechanism for example
197197
if ($request->hasSession() && $request->isMethodSafe()) {
198198
$request->getSession()->set('_security.'.$this->providerKey.'.target_path', $request->getUri());
199199
}

HttpUtils.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ class HttpUtils
3535
* Constructor.
3636
*
3737
* @param UrlGeneratorInterface $urlGenerator A UrlGeneratorInterface instance
38-
* @param UrlMatcherInterface|RequestMatcherInterface $urlMatcher The Url or Request matcher
38+
* @param UrlMatcherInterface|RequestMatcherInterface $urlMatcher The URL or Request matcher
3939
*
4040
* @throws \InvalidArgumentException
4141
*/
@@ -146,7 +146,7 @@ public function generateUri($request, $path)
146146

147147
$url = $this->urlGenerator->generate($path, $request->attributes->all(), UrlGeneratorInterface::ABSOLUTE_URL);
148148

149-
// unnecessary query string parameters must be removed from url
149+
// unnecessary query string parameters must be removed from URL
150150
// (ie. query parameters that are presents in $attributes)
151151
// fortunately, they all are, so we have to remove entire query string
152152
$position = strpos($url, '?');

0 commit comments

Comments
 (0)