Migrates to Pint

This commit is contained in:
Nuno Maduro
2022-09-16 10:45:53 +01:00
parent 579b975318
commit e9564febaf
94 changed files with 413 additions and 471 deletions

View File

@ -5,7 +5,6 @@ declare(strict_types=1);
namespace Pest\Expectations;
use function expect;
use Pest\Expectation;
/**
@ -22,7 +21,7 @@ final class EachExpectation
/**
* Creates an expectation on each item of the iterable "value".
*
* @param Expectation<TValue> $original
* @param Expectation<TValue> $original
*/
public function __construct(private Expectation $original)
{
@ -33,8 +32,7 @@ final class EachExpectation
*
* @template TAndValue
*
* @param TAndValue $value
*
* @param TAndValue $value
* @return Expectation<TAndValue>
*/
public function and(mixed $value): Expectation
@ -57,8 +55,7 @@ final class EachExpectation
/**
* Dynamically calls methods on the class with the given arguments on each item.
*
* @param array<int|string, mixed> $arguments
*
* @param array<int|string, mixed> $arguments
* @return self<TValue>
*/
public function __call(string $name, array $arguments): EachExpectation