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