Parameter type for constructor of GreaterThan and LessThan constraints does not match parameter type for Assert::greaterThan() and Assert::lessThan() #5169
Labels
feature/assertion
Issues related to assertions and expectations
type/bug
Something is broken
version/10
Something affects PHPUnit 10
TypeError: PHPUnit\Framework\Constraint\GreaterThan::__construct(): Argument #1 ($value) must be of type int|float, string given, called in phar:///usr/local/bin/phpunit/phpunit/Framework/Assert.php on line 1620
PHPUnit 10.0.3 by Sebastian Bergmann and contributors.
Runtime: PHP 8.2.2
$this->assertGreaterThanOrEqual('1',(int) count($body['kategorien']));
The text was updated successfully, but these errors were encountered: