Completed
Push — master ( 944e8c...873a6a )
by mw
32:14
created
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.