title: Array to string conversion in Laravel using 'LIKE' query
body: <p>sorry for a newbie question. 
  I run into a problem. I want to search the database for values which an in array. 
  But I have an error: </p>
  
  <blockquote>
    <p>Array to string conversion</p>
  </blockquote>
  
  <p>And kinda get why but, I don't know how to make it right. Can you help me please?
  This is my code:</p>
  
  <pre><code>public function chassis($chassis){
      return $this-&gt;builder-&gt;whereIn('model_type_en', 'LIKE', (array)"%$chassis%");
  }
  </code></pre>
  
  <p>P.S please don't laugh at me :)</p>