fix phpstan

This commit is contained in:
Fabio Ivona
2021-11-29 10:06:00 +01:00
parent 6e7890c206
commit 05f44ed84a

View File

@ -262,7 +262,7 @@ final class Expectation
*
* @param array<int, mixed> $parameters
*
* @return Expectation<TValue>|HigherOrderExpectation<TValue, TValue>
* @return Expectation<TValue>|HigherOrderExpectation<Expectation<TValue>, TValue>
*/
public function __call(string $method, array $parameters): Expectation|HigherOrderExpectation
{
@ -314,7 +314,7 @@ final class Expectation
* Dynamically calls methods on the class without any arguments
* or creates a new higher order expectation.
*
* @return Expectation<TValue>|OppositeExpectation<TValue>|Each<TValue>|HigherOrderExpectation<TValue, null>|TValue
* @return Expectation<TValue>|OppositeExpectation<TValue>|Each<TValue>|HigherOrderExpectation<Expectation<TValue>, TValue|null>|TValue
*/
public function __get(string $name)
{