@@ -702,7 +702,7 @@ |
||
702 | 702 | { |
703 | 703 | return preg_replace_callback( |
704 | 704 | '/(?:[^a-zA-Z0-9_\-\.~:@&=\+\$,\/;%]+|%(?![A-Fa-f0-9]{2}))/', |
705 | - function ($match) { |
|
705 | + function($match) { |
|
706 | 706 | return rawurlencode($match[0]); |
707 | 707 | }, |
708 | 708 | $path |
@@ -342,7 +342,6 @@ |
||
342 | 342 | /** |
343 | 343 | * Normalize provided headers and ensure that the result object is Headers. |
344 | 344 | * |
345 | - * @param StreamInterface|string|null $body The request body object |
|
346 | 345 | * |
347 | 346 | * @return Headers Normalized headers |
348 | 347 | * |