Skip to content

Latest commit

 

History

History
23 lines (15 loc) · 514 Bytes

File metadata and controls

23 lines (15 loc) · 514 Bytes

TypingError

class TypingError extends Logic implements InvalidValue

The value belongs to an unsupported type.

$fileNames = true;

scanFiles($fileNames); // fileNames must be array, string or null

__construct([$varName, $expected [, $previous, $thrower])

  • $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)

Methods

  • getVarName():string
  • getExpected():string