From b68fc5d5879fb81a6491fb99bd7d2a7e8e605c11 Mon Sep 17 00:00:00 2001 From: Sean Harvey Date: Tue, 17 Jun 2014 15:59:50 +1200 Subject: [PATCH] Fixing $casting visibility to be private to match ViewableData parent. --- code/model/MultiForm.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/model/MultiForm.php b/code/model/MultiForm.php index 594ddd0..dae09d9 100644 --- a/code/model/MultiForm.php +++ b/code/model/MultiForm.php @@ -43,7 +43,7 @@ abstract class MultiForm extends Form { * * @var array */ - public static $casting = array( + private static $casting = array( 'CompletedStepCount' => 'Int', 'TotalStepCount' => 'Int', 'CompletedPercent' => 'Float'