You are here

public function RangeValidatorTest::getMoreThanTwenty in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/validator/Tests/Constraints/RangeValidatorTest.php \Symfony\Component\Validator\Tests\Constraints\RangeValidatorTest::getMoreThanTwenty()

File

vendor/symfony/validator/Tests/Constraints/RangeValidatorTest.php, line 62

Class

RangeValidatorTest

Namespace

Symfony\Component\Validator\Tests\Constraints

Code

public function getMoreThanTwenty() {
  return array(
    array(
      20.000001,
      '20.000001',
    ),
    array(
      '20.000001',
      '"20.000001"',
    ),
    array(
      21,
      '21',
    ),
    array(
      30.0,
      '30.0',
    ),
  );
}