title: Type mismatch: cannot convert from void to ArrayList<String>
body: <p>Why am I getting this error for this code? I have the correct imports for ArrayList an Collections</p>
  
  <pre><code>private ArrayList&lt;String&gt; tips;
  
  public TipsTask(ArrayList&lt;String&gt; tips){
      this.tips = Collections.shuffle(tips);
  }
  </code></pre>