| Conditions | 2 |
| Paths | 2 |
| Total Lines | 11 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 6 |
| CRAP Score | 2 |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 26 | 12 | protected function prepareHolidays($year) |
|
| 27 | { |
||
| 28 | /** @var ArrayObject $data */ |
||
| 29 | 12 | $data = new ArrayObject(parent::prepareHolidays($year)); |
|
| 30 | |||
| 31 | 12 | if ($year != 2017) |
|
| 32 | 12 | $data->append($this->getHolidayReformationDay($year)); |
|
| 33 | 12 | $data->append($this->getHolidayBuszUndBettTag($year)); |
|
| 34 | |||
| 35 | 12 | return $data; |
|
| 36 | } |
||
| 37 | } |
||
| 38 |