Allow chaining of JDocumentHTML setHtml5 like in other methods #1827

Merged
merged 1 commit into from Feb 24, 2013
@@ -331,7 +331,7 @@ public function isHtml5()
*
* @param bool $state True when HTML5 should be output
*
- * @return void
+ * @return JDocumentHTML instance of $this to allow chaining
*
* @since 12.1
*/
@@ -341,6 +341,8 @@ public function setHtml5($state)
{
$this->_html5 = $state;
}
+
+ return $this;
}
/**