title: Loop retrieving only one result in Laravel with Yajra Datatable
body: <p>This is my query:</p>
  
  <pre><code>$albix = DB::table('albi')
    -&gt;select(['albi.id'])
    -&gt;join('albi_user', 'albi.id', '=', 'albi_user.albi_id')
    -&gt;where('user_id', '=', $user_id)
    -&gt;get();
  </code></pre>
  
  <p>This is my <code>foreach</code> loop that should retrieve multiple items:</p>
  
  <pre><code>foreach ($albix as $a) {
      return $albi-&gt;id == $a-&gt;id ? 'alert-warning' : '';
  }
  </code></pre>
  
  <p>Why is this not working?</p>