Merge pull request #21 from halkyon/casting_visibility

Fixing $casting visibility to be private to match ViewableData parent.
This commit is contained in:
Sean Harvey 2014-07-03 10:22:05 +12:00
commit c00a498375

View File

@ -43,7 +43,7 @@ abstract class MultiForm extends Form {
* *
* @var array * @var array
*/ */
public static $casting = array( private static $casting = array(
'CompletedStepCount' => 'Int', 'CompletedStepCount' => 'Int',
'TotalStepCount' => 'Int', 'TotalStepCount' => 'Int',
'CompletedPercent' => 'Float' 'CompletedPercent' => 'Float'