Skip to content
This repository
Browse code

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

comply with parent CompositeField::push() for E_STRICT compliance
  • Loading branch information...
commit 42988ecb18397ab5e8ff0abe2c70f979de979633 1 parent 9cf1686
Sean Harvey authored

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. 4  forms/TabSet.php
4  forms/TabSet.php
@@ -129,7 +129,7 @@ public function fieldByName($name) {
129 129
 	/**
130 130
 	 * Add a new child field to the end of the set.
131 131
 	 */
132  
-	public function push($field) {
  132
+	public function push(FormField $field) {
133 133
 		parent::push($field);
134 134
 		$field->setTabSet($this);
135 135
 	}
@@ -155,4 +155,4 @@ public function insertAfter($field, $insertAfter) {
155 155
 	public function removeByName( $tabName, $dataFieldOnly = false ) {
156 156
 		parent::removeByName( $tabName, $dataFieldOnly );
157 157
 	}
158  
-}
  158
+}

0 notes on commit 42988ec

Please sign in to comment.
Something went wrong with that request. Please try again.