From 506fe6cd022c47129c2bc3962c0cd226ca06c6dc Mon Sep 17 00:00:00 2001 From: teundirectlease <73477370+teundirectlease@users.noreply.github.com> Date: Tue, 5 Jan 2021 17:08:10 +0100 Subject: [PATCH] Update README.md To compare based on ClassName it is "ClassName" instead of "class" :-D --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 69bc621..3927f80 100644 --- a/README.md +++ b/README.md @@ -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(); @@ -424,7 +424,7 @@ class SurveyForm extends MultiForm } } - if ($step->class == OrganisationDetailsStep::class) { + if ($step->ClassName == OrganisationDetailsStep::class) { $organisation = Organisation::create(); $data = $step->loadData();