title: Laravel pagination links onEachSide() not working on Laravel 7
body: <p>Is there a way to make this work?</p>
  <pre><code>{{ $records-&gt;onEachSide(2) }}
  </code></pre>
  <p>Where you will only have two links on each side? It shows 5 links on each side - 2 on each side with a ... followed by another two. There is little documentation officially for this. Thank you!</p>
  <p><a href="https://i.stack.imgur.com/oOLb3.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/oOLb3.png" alt="enter image description here" /></a></p>