Skip to content
This repository
Browse code

Fluent interface for ToggleCompositeField

  • Loading branch information...
commit b42a76bebc3eabcdf40920c7eaae7a6e8caad5b7 1 parent b4ecc30
Ingo Schommer authored July 15, 2012

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

  1. 2  forms/ToggleCompositeField.php
2  forms/ToggleCompositeField.php
@@ -66,6 +66,7 @@ public function getStartClosed() {
66 66
 	 */
67 67
 	public function setStartClosed($bool) {
68 68
 		$this->startClosed = (bool) $bool;
  69
+		return $this;
69 70
 	}
70 71
 
71 72
 	/**
@@ -80,6 +81,7 @@ public function getHeadingLevel() {
80 81
 	 */
81 82
 	public function setHeadingLevel($level) {
82 83
 		$this->headingLevel = $level;
  84
+		return $this;
83 85
 	}
84 86
 
85 87
 	/**

0 notes on commit b42a76b

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