title: onEachSide() in pagination not working in Laravel 6.16.0
body: <p>This is my action:</p>
  
  <pre><code>public function look(int $id)
  {
      $key = Key::findOrFail($id);
      $data = $key-&gt;class_name::paginate(100);
      return view('look', compact('data'));
  }
  </code></pre>
  
  <p>This is a part of view:</p>
  
  <pre><code>&lt;div class="row"&gt;
      &lt;div class="col-sm-12"&gt;
          {{ $data-&gt;onEachSide(7)-&gt;links() }}
      &lt;/div&gt;
  &lt;/div&gt;
  
  </code></pre>
  
  <p><a href="https://laravel.com/docs/6.x/pagination#displaying-pagination-results" rel="nofollow noreferrer">Documentation</a> says:</p>
  
  <blockquote>
    <p>You may control how many additional links are displayed on each side of the paginator's URL "window". By default, three links are displayed on each side of the primary paginator links. However, you may control this number using the onEachSide method.</p>
  </blockquote>
  
  <p>But it does not work.</p>