| Conditions | 4 |
| Paths | 2 |
| Total Lines | 8 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 27 | public function validate(TransientVarsInterface $transientVars, array $args = [], PropertySetInterface $ps) |
||
| 28 | { |
||
| 29 | if (array_key_exists('expected', $args) && array_key_exists('actual', $args) && $args['expected'] === $args['actual']) { |
||
| 30 | return true; |
||
| 31 | } |
||
| 32 | |||
| 33 | throw new InvalidInputException('Ivalid data'); |
||
| 34 | } |
||
| 35 | } |
||
| 36 |