Completed
Push — master ( 327ddb...5776a0 )
by Daniel
17:43
created
forms/TreeDropdownField.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -80,7 +80,7 @@  discard block
 block discarded – undo
80 80
 	 *
81 81
 	 * @param string $name the field name
82 82
 	 * @param string $title the field label
83
-	 * @param string|array $sourceObject The object-type to list in the tree. This could
83
+	 * @param string $sourceObject The object-type to list in the tree. This could
84 84
 	 * be one of the following:
85 85
 	 * - A DataObject class name with the {@link Hierarchy} extension.
86 86
 	 * - An array of key/value pairs, like a {@link DropdownField} source. In
@@ -216,7 +216,7 @@  discard block
 block discarded – undo
216 216
 
217 217
 	/**
218 218
 	 * @param array $properties
219
-	 * @return DBHTMLText
219
+	 * @return string
220 220
 	 */
221 221
 	public function Field($properties = array()) {
222 222
 		Requirements::add_i18n_javascript(FRAMEWORK_DIR . '/client/lang');
@@ -399,7 +399,7 @@  discard block
 block discarded – undo
399 399
 	 * If a filter function has been set, that will be called. And if search text is set,
400 400
 	 * filter on that too. Return true if all applicable conditions are true, false otherwise.
401 401
 	 * @param object $node
402
-	 * @return mixed
402
+	 * @return boolean
403 403
 	 */
404 404
 	public function filterMarking($node) {
405 405
 		if ($this->filterCallback && !call_user_func($this->filterCallback, $node)) return false;
Please login to merge, or discard this patch.
forms/TreeMultiselectField.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -96,7 +96,7 @@
 block discarded – undo
96 96
 	 * formfield can contain multiple values.
97 97
 	 *
98 98
 	 * @param array $properties
99
-	 * @return DBHTMLText
99
+	 * @return string
100 100
 	 */
101 101
 	public function Field($properties = array()) {
102 102
 		Requirements::add_i18n_javascript(FRAMEWORK_DIR . '/client/lang');
Please login to merge, or discard this patch.