@@ -50,7 +50,7 @@ protected function corpusChristi(
50
50
int $ year ,
51
51
string $ timezone ,
52
52
string $ locale ,
53
- string $ type = Holiday::TYPE_OTHER
53
+ string $ type = Holiday::TYPE_OTHER ,
54
54
): Holiday {
55
55
return new Holiday (
56
56
'corpusChristi ' ,
@@ -85,7 +85,7 @@ protected function allSaintsDay(
85
85
int $ year ,
86
86
string $ timezone ,
87
87
string $ locale ,
88
- string $ type = Holiday::TYPE_OFFICIAL
88
+ string $ type = Holiday::TYPE_OFFICIAL ,
89
89
): Holiday {
90
90
return new Holiday ('allSaintsDay ' , [], new \DateTime ("{$ year }-11-1 " , DateTimeZoneFactory::getDateTimeZone ($ timezone )), $ locale , $ type );
91
91
}
@@ -113,7 +113,7 @@ protected function assumptionOfMary(
113
113
int $ year ,
114
114
string $ timezone ,
115
115
string $ locale ,
116
- string $ type = Holiday::TYPE_OFFICIAL
116
+ string $ type = Holiday::TYPE_OFFICIAL ,
117
117
): Holiday {
118
118
return new Holiday (
119
119
'assumptionOfMary ' ,
@@ -145,7 +145,7 @@ protected function goodFriday(
145
145
int $ year ,
146
146
string $ timezone ,
147
147
string $ locale ,
148
- string $ type = Holiday::TYPE_OFFICIAL
148
+ string $ type = Holiday::TYPE_OFFICIAL ,
149
149
): Holiday {
150
150
$ holiday = 'goodFriday ' ;
151
151
$ date = $ this ->calculateEaster ($ year , $ timezone )->sub (new \DateInterval ('P2D ' ));
@@ -182,7 +182,7 @@ protected function epiphany(
182
182
int $ year ,
183
183
string $ timezone ,
184
184
string $ locale ,
185
- string $ type = Holiday::TYPE_OFFICIAL
185
+ string $ type = Holiday::TYPE_OFFICIAL ,
186
186
): Holiday {
187
187
return new Holiday ('epiphany ' , [], new \DateTime ("{$ year }-1-6 " , DateTimeZoneFactory::getDateTimeZone ($ timezone )), $ locale , $ type );
188
188
}
@@ -212,7 +212,7 @@ protected function stJosephsDay(
212
212
int $ year ,
213
213
string $ timezone ,
214
214
string $ locale ,
215
- string $ type = Holiday::TYPE_OFFICIAL
215
+ string $ type = Holiday::TYPE_OFFICIAL ,
216
216
): Holiday {
217
217
return new Holiday ('stJosephsDay ' , [], new \DateTime ("{$ year }-3-19 " , DateTimeZoneFactory::getDateTimeZone ($ timezone )), $ locale , $ type );
218
218
}
@@ -241,7 +241,7 @@ protected function stGeorgesDay(
241
241
int $ year ,
242
242
string $ timezone ,
243
243
string $ locale ,
244
- string $ type = Holiday::TYPE_OFFICIAL
244
+ string $ type = Holiday::TYPE_OFFICIAL ,
245
245
): Holiday {
246
246
return new Holiday ('stGeorgesDay ' , [], new \DateTime ("{$ year }-4-23 " , DateTimeZoneFactory::getDateTimeZone ($ timezone )), $ locale , $ type );
247
247
}
@@ -301,7 +301,7 @@ protected function reformationDay(
301
301
int $ year ,
302
302
string $ timezone ,
303
303
string $ locale ,
304
- string $ type = Holiday::TYPE_OFFICIAL
304
+ string $ type = Holiday::TYPE_OFFICIAL ,
305
305
): Holiday {
306
306
return new Holiday (
307
307
'reformationDay ' ,
@@ -412,7 +412,7 @@ protected function easter(
412
412
int $ year ,
413
413
string $ timezone ,
414
414
string $ locale ,
415
- string $ type = Holiday::TYPE_OFFICIAL
415
+ string $ type = Holiday::TYPE_OFFICIAL ,
416
416
): Holiday {
417
417
return new Holiday ('easter ' , [], $ this ->calculateEaster ($ year , $ timezone ), $ locale , $ type );
418
418
}
@@ -437,7 +437,7 @@ protected function pentecost(
437
437
int $ year ,
438
438
string $ timezone ,
439
439
string $ locale ,
440
- string $ type = Holiday::TYPE_OFFICIAL
440
+ string $ type = Holiday::TYPE_OFFICIAL ,
441
441
): Holiday {
442
442
return new Holiday (
443
443
'pentecost ' ,
@@ -471,7 +471,7 @@ protected function easterMonday(
471
471
int $ year ,
472
472
string $ timezone ,
473
473
string $ locale ,
474
- string $ type = Holiday::TYPE_OFFICIAL
474
+ string $ type = Holiday::TYPE_OFFICIAL ,
475
475
): Holiday {
476
476
return new Holiday (
477
477
'easterMonday ' ,
@@ -505,7 +505,7 @@ protected function ascensionDay(
505
505
int $ year ,
506
506
string $ timezone ,
507
507
string $ locale ,
508
- string $ type = Holiday::TYPE_OFFICIAL
508
+ string $ type = Holiday::TYPE_OFFICIAL ,
509
509
): Holiday {
510
510
return new Holiday (
511
511
'ascensionDay ' ,
@@ -536,7 +536,7 @@ protected function pentecostMonday(
536
536
int $ year ,
537
537
string $ timezone ,
538
538
string $ locale ,
539
- string $ type = Holiday::TYPE_OFFICIAL
539
+ string $ type = Holiday::TYPE_OFFICIAL ,
540
540
): Holiday {
541
541
return new Holiday (
542
542
'pentecostMonday ' ,
@@ -571,7 +571,7 @@ protected function christmasEve(
571
571
int $ year ,
572
572
string $ timezone ,
573
573
string $ locale ,
574
- string $ type = Holiday::TYPE_OBSERVANCE
574
+ string $ type = Holiday::TYPE_OBSERVANCE ,
575
575
): Holiday {
576
576
return new Holiday (
577
577
'christmasEve ' ,
@@ -603,7 +603,7 @@ protected function christmasDay(
603
603
int $ year ,
604
604
string $ timezone ,
605
605
string $ locale ,
606
- string $ type = Holiday::TYPE_OFFICIAL
606
+ string $ type = Holiday::TYPE_OFFICIAL ,
607
607
): Holiday {
608
608
return new Holiday (
609
609
'christmasDay ' ,
@@ -635,7 +635,7 @@ protected function secondChristmasDay(
635
635
int $ year ,
636
636
string $ timezone ,
637
637
string $ locale ,
638
- string $ type = Holiday::TYPE_OFFICIAL
638
+ string $ type = Holiday::TYPE_OFFICIAL ,
639
639
): Holiday {
640
640
return new Holiday (
641
641
'secondChristmasDay ' ,
@@ -669,7 +669,7 @@ protected function ashWednesday(
669
669
int $ year ,
670
670
string $ timezone ,
671
671
string $ locale ,
672
- string $ type = Holiday::TYPE_OFFICIAL
672
+ string $ type = Holiday::TYPE_OFFICIAL ,
673
673
): Holiday {
674
674
$ holiday = 'ashWednesday ' ;
675
675
$ date = $ this ->calculateEaster ($ year , $ timezone )->sub (new \DateInterval ('P46D ' ));
@@ -705,7 +705,7 @@ protected function immaculateConception(
705
705
int $ year ,
706
706
string $ timezone ,
707
707
string $ locale ,
708
- string $ type = Holiday::TYPE_OFFICIAL
708
+ string $ type = Holiday::TYPE_OFFICIAL ,
709
709
): Holiday {
710
710
return new Holiday (
711
711
'immaculateConception ' ,
@@ -741,7 +741,7 @@ protected function stStephensDay(
741
741
int $ year ,
742
742
string $ timezone ,
743
743
string $ locale ,
744
- string $ type = Holiday::TYPE_OFFICIAL
744
+ string $ type = Holiday::TYPE_OFFICIAL ,
745
745
): Holiday {
746
746
return new Holiday (
747
747
'stStephensDay ' ,
@@ -776,7 +776,7 @@ protected function maundyThursday(
776
776
int $ year ,
777
777
string $ timezone ,
778
778
string $ locale ,
779
- string $ type = Holiday::TYPE_OFFICIAL
779
+ string $ type = Holiday::TYPE_OFFICIAL ,
780
780
): Holiday {
781
781
$ holiday = 'maundyThursday ' ;
782
782
$ date = $ this ->calculateEaster ($ year , $ timezone )->sub (new \DateInterval ('P3D ' ));
@@ -813,7 +813,7 @@ protected function stJohnsDay(
813
813
int $ year ,
814
814
string $ timezone ,
815
815
string $ locale ,
816
- string $ type = Holiday::TYPE_OFFICIAL
816
+ string $ type = Holiday::TYPE_OFFICIAL ,
817
817
): Holiday {
818
818
return new Holiday ('stJohnsDay ' , [], new \DateTime ("{$ year }-06-24 " , DateTimeZoneFactory::getDateTimeZone ($ timezone )), $ locale , $ type );
819
819
}
@@ -843,7 +843,7 @@ protected function annunciation(
843
843
int $ year ,
844
844
string $ timezone ,
845
845
string $ locale ,
846
- string $ type = Holiday::TYPE_OFFICIAL
846
+ string $ type = Holiday::TYPE_OFFICIAL ,
847
847
): Holiday {
848
848
return new Holiday (
849
849
'annunciation ' ,
0 commit comments