You are here

public function DateTimeComparatorTest::acceptsFailsProvider in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/sebastian/comparator/tests/DateTimeComparatorTest.php \SebastianBergmann\Comparator\DateTimeComparatorTest::acceptsFailsProvider()

File

vendor/sebastian/comparator/tests/DateTimeComparatorTest.php, line 30

Class

DateTimeComparatorTest
@coversDefaultClass SebastianBergmann\Comparator\DateTimeComparator

Namespace

SebastianBergmann\Comparator

Code

public function acceptsFailsProvider() {
  $datetime = new DateTime();
  return array(
    array(
      $datetime,
      null,
    ),
    array(
      null,
      $datetime,
    ),
    array(
      null,
      null,
    ),
  );
}