Fixes types

This commit is contained in:
luke
2021-06-18 22:08:47 +01:00
parent 3a20696da4
commit 22a1aac84a
2 changed files with 6 additions and 2 deletions

View File

@ -138,9 +138,9 @@ final class Expectation
/**
* Allows you to specify a sequential set of expectations for each item in a iterable "value".
*
* @template TValue
* @template TSequenceValue
*
* @param callable(self, self): void|TValue ...$callbacks
* @param callable(self, self): void|TSequenceValue ...$callbacks
*/
public function sequence(...$callbacks): Expectation
{

View File

@ -65,6 +65,8 @@ final class HigherOrderExpectation
/**
* Dynamically calls methods on the class with the given arguments.
*
* @param array<int, mixed> $arguments
*/
public function __call(string $name, array $arguments): self
{
@ -112,6 +114,8 @@ final class HigherOrderExpectation
/**
* Performs the given assertion with the current expectation.
*
* @param array<int, mixed> $arguments
*/
private function performAssertion(string $name, array $arguments): self
{