Completed
Pull Request — master (#76)
by Karsten
18:03
created
SemanticFormsSelect.hooks.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
 	 * This is attached to the MediaWiki 'ParserFirstCallInit' hook.
13 13
 	 *
14 14
 	 * @param $parser Parser
15
-	 * @return bool
15
+	 * @return null|boolean
16 16
 	 */
17 17
 	public static function onSemanticFormsSelectSetup ( & $parser ) {
18 18
 
Please login to merge, or discard this patch.
src/ApiSemanticFormsSelectRequestProcessor.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -126,6 +126,9 @@
 block discarded – undo
126 126
 		] );
127 127
 	}
128 128
 
129
+	/**
130
+	 * @param string $sep
131
+	 */
129 132
 	private function getFormattedValuesFrom( $sep, $values ) {
130 133
 
131 134
 		if ( strpos( $values, $sep ) === false ) {
Please login to merge, or discard this patch.
src/SemanticFormsSelectInput.php 1 patch
Doc Comments   +8 added lines, -2 removed lines patch added patch discarded remove patch
@@ -27,6 +27,12 @@  discard block
 block discarded – undo
27 27
 
28 28
 	private $mSelectField;
29 29
 
30
+	/**
31
+	 * @param string $inputNumber
32
+	 * @param string $curValue
33
+	 * @param boolean $inputName
34
+	 * @param boolean $disabled
35
+	 */
30 36
 	public function __construct( $inputNumber, $curValue, $inputName, $disabled, $otherArgs ) {
31 37
 		parent::__construct( $inputNumber, $curValue, $inputName, $disabled, $otherArgs );
32 38
 
@@ -69,8 +75,8 @@  discard block
 block discarded – undo
69 75
 	 *
70 76
 	 * @param    string $cur_value A single value or a list of values with separator
71 77
 	 * @param    string $input_name Name of the input including the template, e.g. Building[Part Of Site]
72
-	 * @param            $is_mandatory
73
-	 * @param            $is_disabled
78
+	 * @param            boolean $is_mandatory
79
+	 * @param            boolean $is_disabled
74 80
 	 * @param    string[] $other_args Array of other field parameters
75 81
 	 * @return string
76 82
 	 */
Please login to merge, or discard this patch.
src/SelectField.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -181,6 +181,9 @@
 block discarded – undo
181 181
 		return $this->mHasStaticValues;
182 182
 	}
183 183
 
184
+	/**
185
+	 * @param boolean $StaticValues
186
+	 */
184 187
 	private function setHasStaticValues( $StaticValues ) {
185 188
 		$this->mHasStaticValues = $StaticValues;
186 189
 	}
Please login to merge, or discard this patch.