Skip to content

Commit

Permalink
Refactor library/Mockery/MockInterface.php (#1375)
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 73ee135 + 4922259 commit e62b573
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions library/Mockery/MockInterface.php
Expand Up @@ -5,24 +5,25 @@
*
* @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
*/

namespace Mockery;

use Mockery\LegacyMockInterface;

interface MockInterface extends LegacyMockInterface
{
/**
* @param mixed $something String method name or map of method => return
* @return self|\Mockery\ExpectationInterface|\Mockery\Expectation|\Mockery\HigherOrderMessage
* @param mixed $something String method name or map of method => return
*
* @return Expectation|ExpectationInterface|HigherOrderMessage|self
*/
public function allows($something = []);

/**
* @param mixed $something String method name (optional)
* @return \Mockery\ExpectationInterface|\Mockery\Expectation|\Mockery\ExpectsHigherOrderMessage
* @param mixed $something String method name (optional)
*
* @return Expectation|ExpectationInterface|ExpectsHigherOrderMessage
*/
public function expects($something = null);
}

0 comments on commit e62b573

Please sign in to comment.