Skip to content

Commit

Permalink
Refactor library/Mockery/ExpectsHigherOrderMessage.php (#1370)
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 79c35f0 + bf1eb7a commit bcde3d0
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions library/Mockery/ExpectsHigherOrderMessage.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 @@ -14,10 +15,14 @@ class ExpectsHigherOrderMessage extends HigherOrderMessage
{
public function __construct(MockInterface $mock)
{
parent::__construct($mock, "shouldReceive");
parent::__construct($mock, 'shouldReceive');
}

/**
* @return \Mockery\Expectation
* @param string $method
* @param array $args
*
* @return Expectation|ExpectationInterface|HigherOrderMessage
*/
public function __call($method, $args)
{
Expand Down

0 comments on commit bcde3d0

Please sign in to comment.