| Conditions | 2 |
| Paths | 2 |
| Total Lines | 13 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 31 | protected function getPageTitleAndDescription(Exception $exception) |
||
| 32 | { |
||
| 33 | $translator = $this->getTranslator(); |
||
| 34 | |||
| 35 | if ($exception instanceof AcsLocationNotAllowedException) { |
||
| 36 | return [ |
||
| 37 | 'title' => $translator->trans('gateway.error.acs_location_not_allowed.title'), |
||
| 38 | 'description' => $exception->getMessage(), |
||
| 39 | ]; |
||
| 40 | } |
||
| 41 | |||
| 42 | return parent::getPageTitleAndDescription($exception); |
||
| 43 | } |
||
| 44 | } |
||
| 45 |