Skip to content

Commit 4f270f1

Browse files
committed
Fix: Article
1 parent 09e16fb commit 4f270f1

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

HeaderUtils.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ public static function unquote(string $s): string
146146
}
147147

148148
/**
149-
* Generates a HTTP Content-Disposition field-value.
149+
* Generates an HTTP Content-Disposition field-value.
150150
*
151151
* @param string $disposition One of "inline" or "attachment"
152152
* @param string $filename A unicode string

Request.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1716,7 +1716,7 @@ public function getAcceptableContentTypes()
17161716
}
17171717

17181718
/**
1719-
* Returns true if the request is a XMLHttpRequest.
1719+
* Returns true if the request is an XMLHttpRequest.
17201720
*
17211721
* It works if your JavaScript library sets an X-Requested-With HTTP header.
17221722
* It is known to work with common JavaScript frameworks:

Tests/RequestTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -806,7 +806,7 @@ public function getQueryStringNormalizationData()
806806
['bar=&foo=bar', 'bar=&foo=bar', '->works with empty parameters'],
807807
['foo=bar&bar=', 'bar=&foo=bar', 'sorts keys alphabetically'],
808808

809-
// GET parameters, that are submitted from a HTML form, encode spaces as "+" by default (as defined in enctype application/x-www-form-urlencoded).
809+
// GET parameters, that are submitted from an HTML form, encode spaces as "+" by default (as defined in enctype application/x-www-form-urlencoded).
810810
// PHP also converts "+" to spaces when filling the global _GET or when using the function parse_str.
811811
['baz=Foo%20Baz&bar=Foo+Bar', 'bar=Foo%20Bar&baz=Foo%20Baz', 'normalizes spaces in both encodings "%20" and "+"'],
812812

0 commit comments

Comments
 (0)