Skip to content

Commit

Permalink
Refactor library/Mockery/ExpectationInterface.php (#1369)
Browse files Browse the repository at this point in the history
Signed-off-by: Nathanael Esayeas <nathanael.esayeas@protonmail.com>
  • Loading branch information
ghostwriter committed Feb 29, 2024
2 parents 0d1e6fc + e5663bc commit 79c35f0
Showing 1 changed file with 13 additions and 9 deletions.
22 changes: 13 additions & 9 deletions library/Mockery/ExpectationInterface.php
Expand Up @@ -5,6 +5,7 @@
*
* @copyright https://github.com/mockery/mockery/blob/HEAD/COPYRIGHT.md
* @license https://github.com/mockery/mockery/blob/HEAD/LICENSE BSD 3-Clause License
*
* @link https://github.com/mockery/mockery for the canonical source repository
*/

Expand All @@ -13,23 +14,26 @@
interface ExpectationInterface
{
/**
* @return int
* @template TArgs
*
* @param TArgs ...$args
*
* @return self
*/
public function getOrderNumber();
public function andReturn(...$args);

/**
* @return LegacyMockInterface|MockInterface
* @return self
*/
public function getMock();
public function andReturns();

/**
* @param mixed $args
* @return self
* @return LegacyMockInterface|MockInterface
*/
public function andReturn(...$args);
public function getMock();

/**
* @return self
* @return int
*/
public function andReturns();
public function getOrderNumber();
}

0 comments on commit 79c35f0

Please sign in to comment.