title: Override a method of Prestashop 1.7 module
body: <p>I want to override a simple line of code of the official module ps_featuredsearch of Prestashop 1.7.6.7.</p>
  <p>The file is /modules/ps_facetedsearch/src/Hook/ProductSearch.php, method productSearchProvider (public) and line 56.</p>
  <pre><code>// OVERRIDE
  // before: if ($query-&gt;getIdCategory()) {
     if ($query-&gt;getIdCategory() or $query-&gt;getIdManufacturer()) {
  </code></pre>
  <p>I've tried using the override folder without success.</p>
  <p>Thanks.</p>