original_string: protected function addParamTypeFailure($fileName, $fileLine, $calledFunction, $parameterNumber, $parameterName, $expectedType, $calledType)
      {
          $data = 'Invalid type calling ' . $calledFunction . ' : parameter ' . $parameterNumber  . ' (' . $parameterName . ') should be of type ' . $expectedType . ' but got ' . $calledType . ' instead';
          $this->reportFailure($fileName, $fileLine, $data);
      }
code: protected function addParamTypeFailure($fileName, $fileLine, $calledFunction, $parameterNumber, $parameterName, $expectedType, $calledType)
      {
          $data = 'Invalid type calling ' . $calledFunction . ' : parameter ' . $parameterNumber  . ' (' . $parameterName . ') should be of type ' . $expectedType . ' but got ' . $calledType . ' instead';
          $this->reportFailure($fileName, $fileLine, $data);
      }
code_tokens: protected function addParamTypeFailure ( $ fileName , $ fileLine , $ calledFunction , $ parameterNumber , $ parameterName , $ expectedType , $ calledType ) { $ data = 'Invalid type calling ' . $ calledFunction . ' : parameter ' . $ parameterNumber . ' (' . $ parameterName . ') should be of type ' . $ expectedType . ' but got ' . $ calledType . ' instead' ; $ this -> reportFailure ( $ fileName , $ fileLine , $ data ) ; }
docstring: Add a failure about incorrect parameter type
  @param string $fileName
  @param int    $fileLine
  @param string $calledFunction
  @param int    $parameterNumber
  @param string $parameterName
  @param string $expectedType
  @param string $calledType
docstring_tokens: Add a failure about incorrect parameter type