|
@@ -45,7 +45,7 @@ discard block |
|
|
block discarded – undo |
|
45
|
45
|
* @throws ExpectationException if args have not been set for the expectation. |
|
46
|
46
|
* @return array|VerifierProxy |
|
47
|
47
|
*/ |
|
48
|
|
- public function verify(): array|VerifierProxy |
|
|
48
|
+ public function verify(): array | VerifierProxy |
|
49
|
49
|
{ |
|
50
|
50
|
if (!isset($this->method)) { |
|
51
|
51
|
throw new ExpectationException('Expectation method was not set'); |
|
@@ -66,7 +66,7 @@ discard block |
|
|
block discarded – undo |
|
66
|
66
|
* @param array $args the args that are expected to be passed to the method. |
|
67
|
67
|
* @return AnswerBinderProxy|StubberProxy |
|
68
|
68
|
*/ |
|
69
|
|
- public function __call(string $method, array $args): AnswerBinderProxy|StubberProxy |
|
|
69
|
+ public function __call(string $method, array $args): AnswerBinderProxy | StubberProxy |
|
70
|
70
|
{ |
|
71
|
71
|
// record the method and args for verification later |
|
72
|
72
|
$this->method = $method; |
Please login to merge, or discard this patch.