Skip to content

Commit

Permalink
Merge branch '6.3'
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianbergmann committed Aug 24, 2017
2 parents 4f04628 + e2c6f51 commit 3552aa5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
7 changes: 3 additions & 4 deletions src/Framework/Constraint/GreaterThan.php
Expand Up @@ -9,25 +9,24 @@
*/
namespace PHPUnit\Framework\Constraint;

use numeric;

/**
* Constraint that asserts that the value it is evaluated for is greater
* than a given value.
*/
class GreaterThan extends Constraint
{
/**
* @var numeric
* @var int|float
*/
protected $value;

/**
* @param numeric $value
* @param int|float $value
*/
public function __construct($value)
{
parent::__construct();

$this->value = $value;
}

Expand Down
7 changes: 3 additions & 4 deletions src/Framework/Constraint/LessThan.php
Expand Up @@ -9,25 +9,24 @@
*/
namespace PHPUnit\Framework\Constraint;

use numeric;

/**
* Constraint that asserts that the value it is evaluated for is less than
* a given value.
*/
class LessThan extends Constraint
{
/**
* @var numeric
* @var int|float
*/
protected $value;

/**
* @param numeric $value
* @param int|float $value
*/
public function __construct($value)
{
parent::__construct();

$this->value = $value;
}

Expand Down

0 comments on commit 3552aa5

Please sign in to comment.