Property | Type | Description | |
---|---|---|---|
$_description | array | Description reference of the last ::match() call. |
Method | Description | |
---|---|---|
_buildDescription ( string $actual, string $expected ) | Build the description of the runned ::match() call. | |
actual ( mixed $actual ) : mixed | Normalises the actual value in the expected format. | |
description ( ) | Returns the description report. | |
expected ( mixed $expected ) : mixed | Normalises the expected value. | |
match ( mixed $actual, mixed $expected ) : boolean | Checks that $actual is of the $expected type. |
public static _buildDescription ( string $actual, string $expected ) | ||
$actual | string | The actual type. |
$expected | string | The expected type. |
public static array $_description | ||
return | array |