Merge pull request #1156 from mandrew/patch-1

FIX: Strict error warnings on DataExtension
This commit is contained in:
Ingo Schommer 2013-02-04 04:49:44 -08:00
commit 5205a4403b

View File

@ -145,7 +145,7 @@ abstract class DataExtension extends Extension {
*
* @param FieldList $fields FieldList with a contained TabSet
*/
public function updateCMSFields(FieldList $fields) {
public function updateCMSFields(FieldList &$fields) {
}
/**
@ -156,7 +156,7 @@ abstract class DataExtension extends Extension {
*
* @param FieldList $fields FieldList without TabSet nesting
*/
public function updateFrontEndFields(FieldList $fields) {
public function updateFrontEndFields(FieldList &$fields) {
}
/**
@ -165,7 +165,7 @@ abstract class DataExtension extends Extension {
*
* @param FieldList $actions FieldList
*/
public function updateCMSActions(FieldList $actions) {
public function updateCMSActions(FieldList &$actions) {
}
/**