diff --git a/src/Yasumi/Provider/Germany/Saxony.php b/src/Yasumi/Provider/Germany/Saxony.php index 8f06ba753..309d1dc4d 100755 --- a/src/Yasumi/Provider/Germany/Saxony.php +++ b/src/Yasumi/Provider/Germany/Saxony.php @@ -85,7 +85,7 @@ private function calculateReformationDay(): void * @throws \Yasumi\Exception\UnknownLocaleException * @throws \Exception */ - public function calculateRepentanceAndPrayerDay(): void + private function calculateRepentanceAndPrayerDay(): void { if ($this->year >= 1995) { $this->addHoliday(new Holiday( diff --git a/src/Yasumi/Provider/Spain/Andalusia.php b/src/Yasumi/Provider/Spain/Andalusia.php index 393d06d95..05dc8e7cf 100755 --- a/src/Yasumi/Provider/Spain/Andalusia.php +++ b/src/Yasumi/Provider/Spain/Andalusia.php @@ -71,7 +71,7 @@ public function initialize(): void * @throws \Yasumi\Exception\UnknownLocaleException * @throws \Exception */ - public function calculateAndalusiaDay(): void + private function calculateAndalusiaDay(): void { if ($this->year >= 1980) { $this->addHoliday(new Holiday( diff --git a/src/Yasumi/Provider/Spain/Asturias.php b/src/Yasumi/Provider/Spain/Asturias.php index 51d93e1ec..0ca453912 100755 --- a/src/Yasumi/Provider/Spain/Asturias.php +++ b/src/Yasumi/Provider/Spain/Asturias.php @@ -73,7 +73,7 @@ public function initialize(): void * @throws \Yasumi\Exception\UnknownLocaleException * @throws \Exception */ - public function calculateAsturiasDay(): void + private function calculateAsturiasDay(): void { if ($this->year >= 1984) { $this->addHoliday(new Holiday( diff --git a/src/Yasumi/Provider/Spain/BalearicIslands.php b/src/Yasumi/Provider/Spain/BalearicIslands.php index 24c2d491b..8b3d6cc8b 100755 --- a/src/Yasumi/Provider/Spain/BalearicIslands.php +++ b/src/Yasumi/Provider/Spain/BalearicIslands.php @@ -73,7 +73,7 @@ public function initialize(): void * @throws \Yasumi\Exception\UnknownLocaleException * @throws \Exception */ - public function calculateBalearicIslandsDay(): void + private function calculateBalearicIslandsDay(): void { if ($this->year >= 1983) { $this->addHoliday(new Holiday( diff --git a/src/Yasumi/Provider/Spain/BasqueCountry.php b/src/Yasumi/Provider/Spain/BasqueCountry.php index 0ab4d9e36..cce2f5491 100755 --- a/src/Yasumi/Provider/Spain/BasqueCountry.php +++ b/src/Yasumi/Provider/Spain/BasqueCountry.php @@ -73,7 +73,7 @@ public function initialize(): void * @throws \Yasumi\Exception\UnknownLocaleException * @throws \Exception */ - public function calculateBasqueCountryDay(): void + private function calculateBasqueCountryDay(): void { if ($this->year >= 2011 && $this->year <= 2013) { $this->addHoliday(new Holiday( diff --git a/src/Yasumi/Provider/Spain/CanaryIslands.php b/src/Yasumi/Provider/Spain/CanaryIslands.php index 78b237648..1787a08c1 100755 --- a/src/Yasumi/Provider/Spain/CanaryIslands.php +++ b/src/Yasumi/Provider/Spain/CanaryIslands.php @@ -72,7 +72,7 @@ public function initialize(): void * @throws \Yasumi\Exception\UnknownLocaleException * @throws \Exception */ - public function calculateCanaryIslandsDay(): void + private function calculateCanaryIslandsDay(): void { if ($this->year >= 1984) { $this->addHoliday(new Holiday( diff --git a/src/Yasumi/Provider/Spain/Cantabria.php b/src/Yasumi/Provider/Spain/Cantabria.php index c58b5ff82..c28104b2d 100755 --- a/src/Yasumi/Provider/Spain/Cantabria.php +++ b/src/Yasumi/Provider/Spain/Cantabria.php @@ -76,7 +76,7 @@ public function initialize(): void * @throws \Yasumi\Exception\UnknownLocaleException * @throws \Exception */ - public function calculateCantabriaDay(): void + private function calculateCantabriaDay(): void { if ($this->year >= 1967) { $this->addHoliday(new Holiday( diff --git a/src/Yasumi/Provider/Spain/CastileAndLeon.php b/src/Yasumi/Provider/Spain/CastileAndLeon.php index 4f1126acb..028924726 100755 --- a/src/Yasumi/Provider/Spain/CastileAndLeon.php +++ b/src/Yasumi/Provider/Spain/CastileAndLeon.php @@ -73,7 +73,7 @@ public function initialize(): void * @throws \Yasumi\Exception\UnknownLocaleException * @throws \Exception */ - public function calculateCastileAndLeonDay(): void + private function calculateCastileAndLeonDay(): void { if ($this->year >= 1976) { $this->addHoliday(new Holiday( diff --git a/src/Yasumi/Provider/Spain/CastillaLaMancha.php b/src/Yasumi/Provider/Spain/CastillaLaMancha.php index bca90b1de..7f97419ab 100755 --- a/src/Yasumi/Provider/Spain/CastillaLaMancha.php +++ b/src/Yasumi/Provider/Spain/CastillaLaMancha.php @@ -76,7 +76,7 @@ public function initialize(): void * @throws \Yasumi\Exception\UnknownLocaleException * @throws \Exception */ - public function calculateCastillaLaManchaDay(): void + private function calculateCastillaLaManchaDay(): void { if ($this->year >= 1984) { $this->addHoliday(new Holiday( diff --git a/src/Yasumi/Provider/Spain/Catalonia.php b/src/Yasumi/Provider/Spain/Catalonia.php index d0c4d1bb3..69552d85c 100755 --- a/src/Yasumi/Provider/Spain/Catalonia.php +++ b/src/Yasumi/Provider/Spain/Catalonia.php @@ -76,7 +76,7 @@ public function initialize(): void * @throws \Yasumi\Exception\UnknownLocaleException * @throws \Exception */ - public function calculateNationalDayOfCatalonia(): void + private function calculateNationalDayOfCatalonia(): void { if ($this->year >= 1886) { $this->addHoliday(new Holiday( diff --git a/src/Yasumi/Provider/Spain/Ceuta.php b/src/Yasumi/Provider/Spain/Ceuta.php index a2d99f594..be615ceb9 100755 --- a/src/Yasumi/Provider/Spain/Ceuta.php +++ b/src/Yasumi/Provider/Spain/Ceuta.php @@ -70,7 +70,7 @@ public function initialize(): void * @throws \Yasumi\Exception\UnknownLocaleException * @throws \Exception */ - public function calculateDayOfCeuta(): void + private function calculateDayOfCeuta(): void { if ($this->year >= 1416) { $this->addHoliday(new Holiday( diff --git a/src/Yasumi/Provider/Spain/CommunityOfMadrid.php b/src/Yasumi/Provider/Spain/CommunityOfMadrid.php index ffae26b49..b10c6dc9b 100755 --- a/src/Yasumi/Provider/Spain/CommunityOfMadrid.php +++ b/src/Yasumi/Provider/Spain/CommunityOfMadrid.php @@ -77,7 +77,7 @@ public function initialize(): void * @throws \Yasumi\Exception\UnknownLocaleException * @throws \Exception */ - public function calculateDosdeMayoUprisingDay(): void + private function calculateDosdeMayoUprisingDay(): void { $this->addHoliday(new Holiday( 'dosdeMayoUprisingDay', diff --git a/src/Yasumi/Provider/Spain/Extremadura.php b/src/Yasumi/Provider/Spain/Extremadura.php index 2a47a2405..93beb95fe 100755 --- a/src/Yasumi/Provider/Spain/Extremadura.php +++ b/src/Yasumi/Provider/Spain/Extremadura.php @@ -73,7 +73,7 @@ public function initialize(): void * @throws \Yasumi\Exception\UnknownLocaleException * @throws \Exception */ - public function calculateDayOfExtremadura(): void + private function calculateDayOfExtremadura(): void { if ($this->year >= 1985) { $this->addHoliday(new Holiday( diff --git a/src/Yasumi/Provider/Spain/Galicia.php b/src/Yasumi/Provider/Spain/Galicia.php index 383a47695..5bb1254ff 100755 --- a/src/Yasumi/Provider/Spain/Galicia.php +++ b/src/Yasumi/Provider/Spain/Galicia.php @@ -74,7 +74,7 @@ public function initialize(): void * @throws \Yasumi\Exception\UnknownLocaleException * @throws \Exception */ - public function calculateGalicianLiteratureDay(): void + private function calculateGalicianLiteratureDay(): void { if ($this->year >= 1991) { $this->addHoliday(new Holiday('galicianLiteratureDay', [ @@ -102,7 +102,7 @@ public function calculateGalicianLiteratureDay(): void * @throws \Yasumi\Exception\UnknownLocaleException * @throws \Exception */ - public function calculateStJamesDay(): void + private function calculateStJamesDay(): void { if ($this->year >= 2000) { $this->addHoliday(new Holiday('stJamesDay', [ diff --git a/src/Yasumi/Provider/Spain/LaRioja.php b/src/Yasumi/Provider/Spain/LaRioja.php index 36bd6e973..6e84bdb56 100755 --- a/src/Yasumi/Provider/Spain/LaRioja.php +++ b/src/Yasumi/Provider/Spain/LaRioja.php @@ -70,7 +70,7 @@ public function initialize(): void * @throws \Yasumi\Exception\UnknownLocaleException * @throws \Exception */ - public function calculateLaRiojaDay(): void + private function calculateLaRiojaDay(): void { if ($this->year >= 1983) { $this->addHoliday(new Holiday('laRiojaDay', [ diff --git a/src/Yasumi/Provider/Spain/RegionOfMurcia.php b/src/Yasumi/Provider/Spain/RegionOfMurcia.php index 2962015d9..38b7f4c10 100755 --- a/src/Yasumi/Provider/Spain/RegionOfMurcia.php +++ b/src/Yasumi/Provider/Spain/RegionOfMurcia.php @@ -71,7 +71,7 @@ public function initialize(): void * @throws \Yasumi\Exception\UnknownLocaleException * @throws \Exception */ - public function calculateDayOfMurcia(): void + private function calculateDayOfMurcia(): void { if ($this->year >= 1983) { $this->addHoliday(new Holiday('murciaDay', [ diff --git a/src/Yasumi/Provider/Spain/ValencianCommunity.php b/src/Yasumi/Provider/Spain/ValencianCommunity.php index c5a0b1582..35bacf0ed 100755 --- a/src/Yasumi/Provider/Spain/ValencianCommunity.php +++ b/src/Yasumi/Provider/Spain/ValencianCommunity.php @@ -78,7 +78,7 @@ public function initialize(): void * @throws \Yasumi\Exception\UnknownLocaleException * @throws \Exception */ - public function calculateValencianCommunityDay(): void + private function calculateValencianCommunityDay(): void { if ($this->year >= 1239) { $this->addHoliday(new Holiday('valencianCommunityDay', [ diff --git a/src/Yasumi/Provider/Switzerland/Geneva.php b/src/Yasumi/Provider/Switzerland/Geneva.php index eb0d600bc..649df8db7 100644 --- a/src/Yasumi/Provider/Switzerland/Geneva.php +++ b/src/Yasumi/Provider/Switzerland/Geneva.php @@ -70,7 +70,7 @@ public function initialize(): void * @throws \Yasumi\Exception\UnknownLocaleException * @throws \Exception */ - public function calculateJeuneGenevois(): void + private function calculateJeuneGenevois(): void { // Find first Sunday of September $date = new DateTime('First Sunday of ' . $this->year . '-09', new DateTimeZone($this->timezone)); @@ -105,7 +105,7 @@ public function calculateJeuneGenevois(): void * @throws \Yasumi\Exception\UnknownLocaleException * @throws \Exception */ - public function calculateRestaurationGenevoise(): void + private function calculateRestaurationGenevoise(): void { if ($this->year > 1813) { $this->addHoliday(new Holiday( diff --git a/src/Yasumi/Provider/Switzerland/Glarus.php b/src/Yasumi/Provider/Switzerland/Glarus.php index 57ca3f79b..34b88626f 100644 --- a/src/Yasumi/Provider/Switzerland/Glarus.php +++ b/src/Yasumi/Provider/Switzerland/Glarus.php @@ -72,7 +72,7 @@ public function initialize(): void * @throws \Yasumi\Exception\UnknownLocaleException * @throws \Exception */ - public function calculateNafelserFahrt(): void + private function calculateNafelserFahrt(): void { if ($this->year >= 1389) { $date = new DateTime('First Thursday of ' . $this->year . '-04', new DateTimeZone($this->timezone)); diff --git a/src/Yasumi/Provider/Switzerland/Jura.php b/src/Yasumi/Provider/Switzerland/Jura.php index ed2cf2975..bbc1df93c 100644 --- a/src/Yasumi/Provider/Switzerland/Jura.php +++ b/src/Yasumi/Provider/Switzerland/Jura.php @@ -75,7 +75,7 @@ public function initialize(): void * @throws \Yasumi\Exception\UnknownLocaleException * @throws \Exception */ - public function calculatePlebisciteJurassien(): void + private function calculatePlebisciteJurassien(): void { if ($this->year > 1974) { $this->addHoliday(new Holiday( diff --git a/src/Yasumi/Provider/Switzerland/Neuchatel.php b/src/Yasumi/Provider/Switzerland/Neuchatel.php index 51e0fd2d8..4bfe307f4 100644 --- a/src/Yasumi/Provider/Switzerland/Neuchatel.php +++ b/src/Yasumi/Provider/Switzerland/Neuchatel.php @@ -73,7 +73,7 @@ public function initialize(): void * @throws \Yasumi\Exception\UnknownLocaleException * @throws \Exception */ - public function calculateInstaurationRepublique(): void + private function calculateInstaurationRepublique(): void { if ($this->year > 1848) { $this->addHoliday(new Holiday( diff --git a/src/Yasumi/Provider/Switzerland/Obwalden.php b/src/Yasumi/Provider/Switzerland/Obwalden.php index b6c4423e8..796a0b85b 100644 --- a/src/Yasumi/Provider/Switzerland/Obwalden.php +++ b/src/Yasumi/Provider/Switzerland/Obwalden.php @@ -77,7 +77,7 @@ public function initialize(): void * @throws \Exception * @throws \Exception */ - public function calculateBruderKlausenFest(): void + private function calculateBruderKlausenFest(): void { if ($this->year >= 1947) { $this->addHoliday(new Holiday( diff --git a/src/Yasumi/Provider/Switzerland/Ticino.php b/src/Yasumi/Provider/Switzerland/Ticino.php index ea4ab8650..5c4024988 100644 --- a/src/Yasumi/Provider/Switzerland/Ticino.php +++ b/src/Yasumi/Provider/Switzerland/Ticino.php @@ -82,7 +82,7 @@ public function initialize(): void * @throws \Yasumi\Exception\UnknownLocaleException * @throws \Exception */ - public function calculateStPeterPaul(): void + private function calculateStPeterPaul(): void { $this->addHoliday(new Holiday( 'stPeterPaul',