File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -126,7 +126,7 @@ public function removeHeader($header);
126
126
/**
127
127
* Gets the body of the message.
128
128
*
129
- * @return StreamableInterface|null Returns the body, or null if not set .
129
+ * @return StreamableInterface Returns the body as a stream .
130
130
*/
131
131
public function getBody ();
132
132
Original file line number Diff line number Diff line change @@ -79,6 +79,11 @@ public function setCookieParams(array $cookies);
79
79
*
80
80
* Retrieves the deserialized query string arguments, if any.
81
81
*
82
+ * Note: the query params might not be in sync with the URL or server
83
+ * params. If you need to ensure you are only getting the original
84
+ * values, you may need to parse the composed URL or the `QUERY_STRING`
85
+ * composed in the server params.
86
+ *
82
87
* @return array
83
88
*/
84
89
public function getQueryParams ();
@@ -94,6 +99,9 @@ public function getQueryParams();
94
99
* purposes of how duplicate query parameters are handled, and how nested
95
100
* sets are handled.
96
101
*
102
+ * Setting query string arguments MUST NOT change the URL stored by the
103
+ * request, nor the values in the server params.
104
+ *
97
105
* @param array $query Array of query string arguments, typically from
98
106
* $_GET.
99
107
* @return void
You can’t perform that action at this time.
0 commit comments