Adds type hinting

This commit is contained in:
luke
2021-06-18 22:01:16 +01:00
parent 4b55de27f1
commit 27de6106ab
4 changed files with 16 additions and 10 deletions

View File

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