Skip to content

Commit

Permalink
use snake_case params
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnRDOrazio committed Oct 2, 2024
1 parent 3b7b54f commit 3c4e542
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions php/src/Festivity.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ class Festivity
public string $type;
public int $grade;
public string $grade_lcl;
public string $displayGrade;
public string $display_grade;
public array $common;
public string $common_lcl;
public string $liturgicalYear;
public string $liturgical_year;

public function __construct(array $LitEvent)
{
Expand All @@ -33,7 +33,7 @@ public function __construct(array $LitEvent)
$this->grade_lcl = $LitEvent['grade_lcl'];
$this->common = $LitEvent['common'];
$this->common_lcl = $LitEvent['common_lcl'];
$this->liturgicalYear = $LitEvent['liturgical_year'] ?? '';
$this->displayGrade = $LitEvent['display_grade'] ?? '';
$this->liturgical_year = $LitEvent['liturgical_year'] ?? '';
$this->display_grade = $LitEvent['display_grade'] ?? '';
}
}

0 comments on commit 3c4e542

Please sign in to comment.