Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
To compare based on ClassName it is "ClassName" instead of "class" :-D
  • Loading branch information
teundirectlease authored Jan 5, 2021
1 parent 41d8927 commit 506fe6c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@ class SurveyForm extends MultiForm

if ($steps) {
foreach ($steps as $step) {
if($step->class == PersonalDetailsStep::class) {
if($step->ClassName == PersonalDetailsStep::class) {
$member = Member::create();
$data = $step->loadData();

Expand All @@ -424,7 +424,7 @@ class SurveyForm extends MultiForm
}
}

if ($step->class == OrganisationDetailsStep::class) {
if ($step->ClassName == OrganisationDetailsStep::class) {
$organisation = Organisation::create();
$data = $step->loadData();

Expand Down

0 comments on commit 506fe6c

Please sign in to comment.