You are here

public function TypeComparator::accepts in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/sebastian/comparator/src/TypeComparator.php \SebastianBergmann\Comparator\TypeComparator::accepts()

Returns whether the comparator can compare two values.

Parameters

mixed $expected The first value to compare:

mixed $actual The second value to compare:

Return value

bool

Overrides Comparator::accepts

File

vendor/sebastian/comparator/src/TypeComparator.php, line 25

Class

TypeComparator
Compares values for type equality.

Namespace

SebastianBergmann\Comparator

Code

public function accepts($expected, $actual) {
  return true;
}