From 42988ecb18397ab5e8ff0abe2c70f979de979633 Mon Sep 17 00:00:00 2001 From: Sean Harvey Date: Thu, 12 Apr 2012 12:11:53 +1200 Subject: [PATCH] BUGFIX Argument hinting of FormField instance for TabSet::push() to comply with parent CompositeField::push() for E_STRICT compliance --- forms/TabSet.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/forms/TabSet.php b/forms/TabSet.php index defcfbe52..03ff06689 100644 --- a/forms/TabSet.php +++ b/forms/TabSet.php @@ -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); } @@ -155,4 +155,4 @@ class TabSet extends CompositeField { public function removeByName( $tabName, $dataFieldOnly = false ) { parent::removeByName( $tabName, $dataFieldOnly ); } -} \ No newline at end of file +}