Completed
Push — master ( 944e8c...873a6a )
by mw
32:14
created
src/DataValues/ValueFormatters/MonolingualTextValueFormatter.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -119,6 +119,9 @@
 block discarded – undo
119 119
 		return $text . $languagecode;
120 120
 	}
121 121
 
122
+	/**
123
+	 * @param DataValue $dataValue
124
+	 */
122 125
 	private function findValueOutputFor( $type, $dataValue, $linker ) {
123 126
 		switch ( $type ) {
124 127
 			case self::VALUE: return $dataValue->getWikiValue();
Please login to merge, or discard this patch.
includes/GlobalFunctions.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -95,7 +95,6 @@  discard block
 block discarded – undo
95 95
  * $icon should be one of: 'warning' (default), 'info'.
96 96
  *
97 97
  * @param array $messages
98
- * @param string $icon Acts like an enum. Callers must ensure safety, since this value is used directly in the output.
99 98
  * @param string $seperator
100 99
  * @param boolean $escape Should the messages be escaped or not (ie when they already are)
101 100
  *
@@ -201,7 +200,7 @@  discard block
 block discarded – undo
201 200
  * @param mixed $namespace
202 201
  * @param boolean $complete
203 202
  *
204
- * @return true
203
+ * @return boolean
205 204
  *
206 205
  * @codeCoverageIgnore
207 206
  */
Please login to merge, or discard this patch.
src/DataValues/ValueFormatters/CodeStringValueFormatter.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace SMW\DataValues\ValueFormatters;
4 4
 
5 5
 use SMWDataValue as DataValue;
6
-use SMWStringValue as StringValue;
7 6
 use SMWOutputs as Outputs;
8 7
 
9 8
 /**
Please login to merge, or discard this patch.
src/DataValues/ValueFormatters/StringValueFormatter.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -72,6 +72,9 @@
 block discarded – undo
72 72
 		return $abbreviate && $length > 255 ? $this->getAbbreviatedText( $text, $length, $linker ) : $text;
73 73
 	}
74 74
 
75
+	/**
76
+	 * @param integer $length
77
+	 */
75 78
 	private function getAbbreviatedText( $text, $length, $linker ) {
76 79
 
77 80
 		if ( $linker === false || $linker === null ) {
Please login to merge, or discard this patch.
includes/datavalues/SMW_DV_String.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -72,6 +72,9 @@
 block discarded – undo
72 72
 		return $abbreviate && $length > 255 ? $this->getAbbreviatedText( $text, $length, $linker ) : $text;
73 73
 	}
74 74
 
75
+	/**
76
+	 * @param integer $length
77
+	 */
75 78
 	private function getAbbreviatedText( $text, $length, $linker ) {
76 79
 
77 80
 		if ( $linker === false || $linker === null ) {
Please login to merge, or discard this patch.
includes/datavalues/SMW_DV_Time.php 1 patch
Doc Comments   +8 added lines, -7 removed lines patch added patch discarded remove patch
@@ -185,14 +185,15 @@  discard block
 block discarded – undo
185 185
 	 * The function sets the provided call-by-ref values to the respective
186 186
 	 * values. If errors are encountered, they are added to the objects
187 187
 	 * error list and false is returned. Otherwise, true is returned.
188
-	 * @param $string string input time representation, e.g. "12 May 2007 13:45:23-3:30"
188
+	 * @param string $string string input time representation, e.g. "12 May 2007 13:45:23-3:30"
189 189
 	 * @param $datecomponents array of strings that might belong to the specification of a date
190 190
 	 * @param $calendarmodesl string if model was set in input, otherwise false
191
-	 * @param $era string '+' or '-' if provided, otherwise false
192
-	 * @param $hours integer set to a value between 0 and 24
193
-	 * @param $minutes integer set to a value between 0 and 59
194
-	 * @param $seconds integer set to a value between 0 and 59, or false if not given
195
-	 * @param $timeoffset double set to a value for time offset (e.g. 3.5), or false if not given
191
+	 * @param boolean $era string '+' or '-' if provided, otherwise false
192
+	 * @param boolean $hours integer set to a value between 0 and 24
193
+	 * @param boolean $minutes integer set to a value between 0 and 59
194
+	 * @param boolean $seconds integer set to a value between 0 and 59, or false if not given
195
+	 * @param boolean $timeoffset double set to a value for time offset (e.g. 3.5), or false if not given
196
+	 * @param boolean $calendarmodel
196 197
 	 * @return boolean stating if the parsing succeeded
197 198
 	 * @todo This method in principle allows date parsing to be internationalized further. Should be done.
198 199
 	 */
@@ -402,7 +403,7 @@  discard block
 block discarded – undo
402 403
 	 * messages are added to the objects list of errors, and false is
403 404
 	 * returned. Otherwise, true is returned.
404 405
 	 * @param $datecomponents array of strings that might belong to the specification of a date
405
-	 * @param $date array set to result
406
+	 * @param boolean $date array set to result
406 407
 	 * @return boolean stating if successful
407 408
 	 */
408 409
 	protected function interpretDateComponents( $datecomponents, &$date ) {
Please login to merge, or discard this patch.
src/DataValues/ValueFormatters/TimeValueFormatter.php 1 patch
Doc Comments   +1 added lines, -3 removed lines patch added patch discarded remove patch
@@ -69,7 +69,6 @@  discard block
 block discarded – undo
69 69
 	 *
70 70
 	 * @since 2.4
71 71
 	 *
72
-	 * @param DITime $dataItem
73 72
 	 * @param boolean $mindefault determining whether values below the
74 73
 	 * precision of our input should be completed with minimal or maximal
75 74
 	 * conceivable values
@@ -110,7 +109,6 @@  discard block
 block discarded – undo
110 109
 	 *
111 110
 	 * @since 2.4
112 111
 	 *
113
-	 * @param DITime $dataItem
114 112
 	 *
115 113
 	 * @return string
116 114
 	 */
@@ -157,7 +155,7 @@  discard block
 block discarded – undo
157 155
 	 *
158 156
 	 * @since 2.4
159 157
 	 *
160
-	 * @param DITime $dataitem
158
+	 * @param DITime $dataItem
161 159
 	 *
162 160
 	 * @return string
163 161
 	 */
Please login to merge, or discard this patch.