title: Declaration of MYPDF::Header() should be compatible with TCPDF::Header()
body: <p>Hello to all! </p>
  
  <p>I'm trying to override the <em>Header</em> method passing the variable <code>$ecm</code> but I get this message:</p>
  
  <pre><code>    "Declaration of MYPDF::Header() should be compatible with TCPDF::Header()"
  </code></pre>
  
  <p>What do you think?
  I can get around the obstacle? 
  Thanks.</p>
  
  <pre><code>  &lt;code&gt;  
      $pdf = new MYPDF('P', 'mm', 'A4');
      $ecm="1241231.jpg";
      $pdf-&gt;Header($ecm);
      $pdf-&gt;Output('filename.pdf', 'I'); //To force download    }
  
  
      // Extend the TCPDF class to create custom Header and Footer
      class MYPDF extends TCPDF {
          //Page header
          public function Header($ecm) {
            ....
  
          }
      }
  &lt;/code&gt;
  </code></pre>