BUGFIX Argument hinting of FormField instance for TabSet::push() to

comply with parent CompositeField::push() for E_STRICT compliance
This commit is contained in:
Sean Harvey 2012-04-12 12:11:53 +12:00
parent 9cf1686786
commit 42988ecb18

View File

@ -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);
}