| Total Complexity | 3 |
| Total Lines | 18 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 5 | class ConsecutiveCallsReturn extends Handler |
||
| 6 | { |
||
| 7 | public function handle(): bool |
||
| 8 | { |
||
| 9 | if (!$this->canHandle()) { |
||
| 10 | return false; |
||
| 11 | } |
||
| 12 | |||
| 13 | $this->initialStub->method($this->methodName)->will( |
||
| 14 | call_user_func_array([$this->testCase, 'onConsecutiveCalls'], $this->methodMockConfig) |
||
| 15 | ); |
||
| 16 | |||
| 17 | return true; |
||
| 18 | } |
||
| 19 | |||
| 20 | private function canHandle(): bool |
||
| 23 | } |
||
| 24 | } |
||
| 25 |