title: Laravel request()->fullUrlWithQuery() doesn't work as expected
body: <p>I am trying create a paging on my page using the</p>
  <pre><code>request()-&gt;fullUrlWithQuery([&quot;page&quot; =&gt;$page_number])
  </code></pre>
  <p>However, instead of getting the full url with query params with the <code>page</code> param appended to it. I get only the path with the <code>page</code> param appended</p>
  <pre><code>@for($i = 1; $i&lt;=$pagesCount;$i++)
      &lt;li class=&quot;page-item {{request()-&gt;get(&quot;page&quot;) == $i ? 'active' :&quot;&quot;}}&quot;&gt;
          &lt;a class=&quot;page-link&quot;
             href=&quot;{{request()-&gt;fullUrlWithQuery([&quot;page&quot; =&gt;$i])}}&quot;&gt;{{$i}}&lt;/a&gt;
      &lt;/li&gt;
  @endfor
  </code></pre>
  <p>The original url</p>
  <pre><code>http://localhost:8899/offers/find?make=&amp;year=&amp;location=&amp;drive=&amp;color=&amp;min_original_price=&amp;max_original_price=&amp;currency=
  </code></pre>
  <p>and when I output:</p>
  <pre><code>{{request()-&gt;fullUrlWithQuery([&quot;page&quot; =&gt;1])}}
  &lt;/br&gt;
  {{request()-&gt;fullUrl()}}
  &lt;/br&gt;
  </code></pre>
  <p>I get</p>
  <pre><code>http://localhost:8899/offers/find?page=1 
  </code></pre>
  <p>and</p>
  <pre><code>http://localhost:8899/offers/find?color=&amp;currency=&amp;drive=&amp;location=&amp;make=&amp;max_original_price=&amp;min_original_price=&amp;year=
  </code></pre>
  <p>respectively.</p>