@@ -33,11 +33,11 @@ private function __construct()
3333 *
3434 * Example:
3535 *
36- * HeaderUtils::split(" da, en-gb;q=0.8", ",;" )
36+ * HeaderUtils::split(' da, en-gb;q=0.8', ',;' )
3737 * // => ['da'], ['en-gb', 'q=0.8']]
3838 *
3939 * @param string $separators List of characters to split on, ordered by
40- * precedence, e.g. ",", ";=" , or " ,;="
40+ * precedence, e.g. ',', ';=' , or ' ,;='
4141 *
4242 * @return array Nested array with as many levels as there are characters in
4343 * $separators
@@ -77,8 +77,8 @@ public static function split(string $header, string $separators): array
7777 *
7878 * Example:
7979 *
80- * HeaderUtils::combine([[" foo", " abc" ], [" bar" ]])
81- * // => [" foo" => " abc", " bar" => true]
80+ * HeaderUtils::combine([[' foo', ' abc' ], [' bar' ]])
81+ * // => [' foo' => ' abc', ' bar' => true]
8282 */
8383 public static function combine (array $ parts ): array
8484 {
@@ -95,13 +95,13 @@ public static function combine(array $parts): array
9595 /**
9696 * Joins an associative array into a string for use in an HTTP header.
9797 *
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
9999 * are joined with the specified separator and an additional space (for
100100 * readability). Values are quoted if necessary.
101101 *
102102 * Example:
103103 *
104- * HeaderUtils::toString([" foo" => " abc", " bar" => true, " baz" => " a b c" ], "," )
104+ * HeaderUtils::toString([' foo' => ' abc', ' bar' => true, ' baz' => ' a b c' ], ',' )
105105 * // => 'foo=abc, bar, baz="a b c"'
106106 */
107107 public static function toString (array $ assoc , string $ separator ): string
0 commit comments