This commit is contained in:
luke
2021-06-18 22:03:51 +01:00
parent 99bcf98617
commit 3a20696da4
4 changed files with 3 additions and 5 deletions

View File

@ -17,6 +17,7 @@ trait Expectable
* Creates a new expectation.
*
* @param TValue $value
*
* @return Expectation<TValue>
*/
public function expect($value): Expectation

View File

@ -15,7 +15,7 @@ trait RetrievesValues
* Safely retrieve the value at the given key from an object or array.
*
* @param array<string, TRetrievableValue>|object $value
* @param TRetrievableValue|null $default
* @param TRetrievableValue|null $default
*
* @return TRetrievableValue|null
*/

View File

@ -60,6 +60,7 @@ final class Expectation
* Creates a new expectation.
*
* @param TValue $value
*
* @return Expectation<TValue>
*/
public function and($value): Expectation

View File

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