UnexpectedPropertyType
extends BaseUnexpectedValueException
in package
FinalYes
Table of Contents
Methods
- __construct() : mixed
- getInfosOnValue() : array{wide_type: string, value: ?string, type: string}
- getStringDesc() : string
Methods
__construct()
public
__construct(int|string $key, string $expectedType, mixed $actualValue[, Throwable|null $previous = null ]) : mixed
Parameters
- $key : int|string
- $expectedType : string
- $actualValue : mixed
- $previous : Throwable|null = null
getInfosOnValue()
protected
getInfosOnValue(mixed $value) : array{wide_type: string, value: ?string, type: string}
Parameters
- $value : mixed
Return values
array{wide_type: string, value: ?string, type: string}getStringDesc()
protected
getStringDesc(mixed $value) : string
Parameters
- $value : mixed