Conditions | 2 |
Paths | 2 |
Total Lines | 11 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
30 | } |
||
31 | |||
32 | public function handles(OutcomeInterface $outcome): bool |
||
33 | { |
||
34 | return $outcome->getType() == OutcomeInterface::TYPE_RETURN; |
||
35 | } |
||
36 | |||
37 | public function handle(OutcomeInterface $outcome): Status |
||
38 | { |
||
39 | $returnValue = $outcome->getPayload()['value'] ?? ''; |
||
40 | |||
41 | if (!$this->regexp->isMatch($returnValue)) { |
||
50 |