title: Laravel chunk() mistaken with array_chunk?
body: <p>I'm working on a local project with Laravel 5. I'm trying to grab what could potentially be (or become) huge amounts of data. I'm doing so</p>
  
  <pre><code>    $tickets = Ticket::getResolvedTicketsBetween($start,$end)-&gt;chunk(200, function($chunkOfTickets){
      foreach ($chunkOfTickets as $ticket) {
          echo $ticket-&gt;id;
      }
  });
  </code></pre>
  
  <p>The problem is I'm getting the error</p>
  
  <pre><code>array_chunk() expects parameter 3 to be boolean, object given
  </code></pre>
  
  <p>What am I doing wrong? Can someone please help me, I'm following the documentation accordingly... I think...</p>