possible-wrong-parameter-undefined

当一个方法以错误的类型调用参数时引发:

  1. public function some()
  2. {
  3. return this->sum("a string", "another"); // wrong parameters passed
  4. }
  5. public function sum(int a, int b)
  6. {
  7. return a + b;
  8. }