Skip to content

Commit

Permalink
fix phpstan
Browse files Browse the repository at this point in the history
  • Loading branch information
fabio-ivona committed Nov 29, 2021
1 parent 6e7890c commit 05f44ed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Expectation.php
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ public function when(callable|bool $condition, callable $callback): 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
{
Expand Down Expand Up @@ -314,7 +314,7 @@ private function hasExpectation(string $name): bool
* 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)
{
Expand Down

0 comments on commit 05f44ed

Please sign in to comment.