minor #11814 [Security] fixing typo in a comment (xabbuh)

This PR was merged into the 2.3 branch.

Discussion
----------

[Security] fixing typo in a comment

| Q             | A
| ------------- | ---
| Fixed tickets |
| License       | MIT

As reported [here](https://github.com/symfony/symfony/pull/11574/files#r16934052).

Commits
-------

faefd66 fixing typo in a comment
This commit is contained in:
Fabien Potencier 2014-09-01 13:45:45 +02:00
commit 32f1143e60
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ class StringUtils
$knownLen = strlen($knownString);
$userLen = strlen($userInput);
// Extend know string to avoid uninitialized string offsets
// Extend the known string to avoid uninitialized string offsets
$knownString .= $userInput;
// Set the result to the difference between the lengths