class TypingError extends Logic implements InvalidValueThe value belongs to an unsupported type.
$fileNames = true;
scanFiles($fileNames); // fileNames must be array, string or null$varName- the value name (the name of the variable or the container)$expected- the list of the expected types (an array or a string for single)
getVarName():stringgetExpected():string