Bug #86520
Updated by Daniel Goerz over 5 years ago
As stated in the UriInterface: <pre><code class="php"> /** * The query part of the URI without the ? * @var string */ protected $query; /** * Retrieve the query string of the URI. * * If no query string is present, this method MUST return an empty string. * * [...] * * @see https://tools.ietf.org/html/rfc3986#section-2 * @see https://tools.ietf.org/html/rfc3986#section-3.4 * @return string The URI query string. */ public function getQuery() { return $this->query; } </code></pre> But currently on requests without a Query this method returns @null@