mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-09-30 21:29:23 +02:00
BUGFIX Argument hinting of FormField instance for TabSet::push() to
comply with parent CompositeField::push() for E_STRICT compliance
This commit is contained in:
parent
9cf1686786
commit
42988ecb18
@ -129,7 +129,7 @@ class TabSet extends CompositeField {
|
||||
/**
|
||||
* Add a new child field to the end of the set.
|
||||
*/
|
||||
public function push($field) {
|
||||
public function push(FormField $field) {
|
||||
parent::push($field);
|
||||
$field->setTabSet($this);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user