@@ -33,11 +33,11 @@ private function __construct()
33
33
*
34
34
* Example:
35
35
*
36
- * HeaderUtils::split(" da, en-gb;q=0.8", ",;" )
36
+ * HeaderUtils::split(' da, en-gb;q=0.8', ',;' )
37
37
* // => ['da'], ['en-gb', 'q=0.8']]
38
38
*
39
39
* @param string $separators List of characters to split on, ordered by
40
- * precedence, e.g. ",", ";=" , or " ,;="
40
+ * precedence, e.g. ',', ';=' , or ' ,;='
41
41
*
42
42
* @return array Nested array with as many levels as there are characters in
43
43
* $separators
@@ -77,8 +77,8 @@ public static function split(string $header, string $separators): array
77
77
*
78
78
* Example:
79
79
*
80
- * HeaderUtils::combine([[" foo", " abc" ], [" bar" ]])
81
- * // => [" foo" => " abc", " bar" => true]
80
+ * HeaderUtils::combine([[' foo', ' abc' ], [' bar' ]])
81
+ * // => [' foo' => ' abc', ' bar' => true]
82
82
*/
83
83
public static function combine (array $ parts ): array
84
84
{
@@ -95,13 +95,13 @@ public static function combine(array $parts): array
95
95
/**
96
96
* Joins an associative array into a string for use in an HTTP header.
97
97
*
98
- * The key and value of each entry are joined with "=" , and all entries
98
+ * The key and value of each entry are joined with '=' , and all entries
99
99
* are joined with the specified separator and an additional space (for
100
100
* readability). Values are quoted if necessary.
101
101
*
102
102
* Example:
103
103
*
104
- * HeaderUtils::toString([" foo" => " abc", " bar" => true, " baz" => " a b c" ], "," )
104
+ * HeaderUtils::toString([' foo' => ' abc', ' bar' => true, ' baz' => ' a b c' ], ',' )
105
105
* // => 'foo=abc, bar, baz="a b c"'
106
106
*/
107
107
public static function toString (array $ assoc , string $ separator ): string
0 commit comments