mirror of
https://github.com/pestphp/pest.git
synced 2026-03-08 08:47:22 +01:00
Migrates to Pint
This commit is contained in:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user