title: Why does callable type hinting call?
body: <p>I give strings like 'myproject\module\Controller::Action' to one of the method, which must make sure that specified method exists and is public. The simplest and most logical way is to use type hinting:</p>
  
  <pre><code>protected doSomething(callable $method, ...)
  {
     ...
  }
  </code></pre>
  
  <p>But! This gives me:</p>
  
  <blockquote>
    <p>Deprecated: Non-static method
    myproject\module\Controller::Action() should not be
    called statically in path_to_script: line where function is defined</p>
  </blockquote>
  
  <p>What a hell?? Why does type hinting tries to call method when it must only to check if it's callable? How to use such type hinting without errors?</p>
  
  <p>Using PHP 7.0.2 with strict types and error_reporting(PHP_INT_MAX).</p>