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);
    }
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);
    }
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 ) ; }
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
Add a failure about incorrect parameter type