Skip to content

Commit

Permalink
Merge pull request #1058 from danielsd/fix-should-not-receive-type-hint
Browse files Browse the repository at this point in the history
Fix type hint on shouldNotRecieve() argument
  • Loading branch information
davedevelopment committed May 14, 2020
2 parents 8496cfb + e1710c5 commit a115dc3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions library/Mockery/Mock.php
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ public function mockery_init(\Mockery\Container $container = null, $partialObjec
/**
* Set expected method calls
*
* @param mixed ...$methodNames one or many methods that are expected to be called in this mock
* @param string ...$methodNames one or many methods that are expected to be called in this mock
*
* @return \Mockery\ExpectationInterface|\Mockery\Expectation|\Mockery\HigherOrderMessage
*/
Expand Down Expand Up @@ -279,7 +279,7 @@ public function expects($something = null)
/**
* Shortcut method for setting an expectation that a method should not be called.
*
* @param array ...$methodNames one or many methods that are expected not to be called in this mock
* @param string ...$methodNames one or many methods that are expected not to be called in this mock
* @return \Mockery\ExpectationInterface|\Mockery\Expectation|\Mockery\HigherOrderMessage
*/
public function shouldNotReceive(...$methodNames)
Expand Down

0 comments on commit a115dc3

Please sign in to comment.