title: the correct way to use makeHidden in laravel
body: <p>I have problem with the pagination . </p>
  
  <p>everything work fine without error but the problem is when i use makeHidden with my code it change the structure of my json pagination result </p>
  
  <p>this is my code </p>
  
  <pre><code> $result = Job::where('user_id','=',Auth::id())-&gt;paginate(5);
  
      $result= $result-&gt;makeHidden(['hasMessage']);
  </code></pre>
  
  <p>without the second line the result is </p>
  
  <pre><code> {
      total: 1 ,
      per_page: 5,
      current_page: 1,
      last_page: 1,
      next_page_url: null,
      prev_page_url: null,
      from: 1,
      to: 1,
     data: [
        {
          id: 4,
          sid:125,
          hasMessage: true
      }
          ]
  }
  </code></pre>
  
  <p>but when i use </p>
  
  <pre><code>$result= $result-&gt;makeHidden(['hasMessage']);
  </code></pre>
  
  <p>I got </p>
  
  <pre><code>   [
      {
        id: 4,
        sid:125,
      }
     ]
  </code></pre>
  
  <p>any idea please ? ? ? is it a bug or there is something wrong ? ? </p>
  
  <blockquote>
    <p><strong>hasMessage</strong> is an append field not a real columns </p>
  </blockquote>