diff --git a/code/MultiFormStep.php b/code/MultiFormStep.php index 0df28a4..a3b3998 100644 --- a/code/MultiFormStep.php +++ b/code/MultiFormStep.php @@ -30,7 +30,7 @@ class MultiFormStep extends DataObject { * * @var array|string */ - protected static $next_steps; + public static $next_steps; /** * Each {@link MultiForm} subclass needs at least @@ -40,7 +40,7 @@ class MultiFormStep extends DataObject { * * @var boolean */ - protected static $is_final_step = false; + public static $is_final_step = false; /** * This variable determines whether a user can use diff --git a/tests/MultiFormTest.php b/tests/MultiFormTest.php index 4da7e18..e6233b2 100644 --- a/tests/MultiFormTest.php +++ b/tests/MultiFormTest.php @@ -123,7 +123,7 @@ class MultiFormTest_Form extends MultiForm implements TestOnly { } class MultiFormTest_StepOne extends MultiFormStep implements TestOnly { - protected static $next_steps = 'MultiFormTest_StepTwo'; + public static $next_steps = 'MultiFormTest_StepTwo'; function getFields() { return new FieldSet( @@ -136,7 +136,7 @@ class MultiFormTest_StepOne extends MultiFormStep implements TestOnly { } class MultiFormTest_StepTwo extends MultiFormStep implements TestOnly { - protected static $next_steps = 'MultiFormTest_StepThree'; + public static $next_steps = 'MultiFormTest_StepThree'; function getFields() { return new FieldSet(