Changed comments in forms\ToggleCompositeField.php

This commit is contained in:
assertchris 2016-04-20 16:00:49 +12:00
parent f49c0b58d9
commit f6effb9347

View File

@ -18,6 +18,8 @@ class ToggleCompositeField extends CompositeField {
protected $headingLevel = 3; protected $headingLevel = 3;
/** /**
* @inheritdoc
*
* @param string $name * @param string $name
* @param string $title * @param string $title
* @param array|FieldList $children * @param array|FieldList $children
@ -30,9 +32,11 @@ class ToggleCompositeField extends CompositeField {
} }
/** /**
* @inheritdoc
*
* @param array $properties * @param array $properties
* *
* @return HTMLText * @return string|HTMLText
*/ */
public function FieldHolder($properties = array()) { public function FieldHolder($properties = array()) {
Requirements::javascript(FRAMEWORK_DIR . '/thirdparty/jquery/jquery.js'); Requirements::javascript(FRAMEWORK_DIR . '/thirdparty/jquery/jquery.js');
@ -52,7 +56,9 @@ class ToggleCompositeField extends CompositeField {
} }
/** /**
* {@inheritdoc} * @inheritdoc
*
* @return array
*/ */
public function getAttributes() { public function getAttributes() {
$attributes = array( $attributes = array(