Completed
Push — master ( ff2cd3...da92b9 )
by mw
236:43 queued 201:44
created
phpunit/Integration/Query/InversePropertyRelationshipDBIntegrationTest.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -116,6 +116,10 @@
 block discarded – undo
116 116
 		);
117 117
 	}
118 118
 
119
+	/**
120
+	 * @param string $property
121
+	 * @param string $value
122
+	 */
119 123
 	private function newDataValueForPagePropertyValue( $property, $value ) {
120 124
 
121 125
 		$property = DIProperty::newFromUserLabel( $property );
Please login to merge, or discard this patch.
includes/queryprinters/DsvResultPrinter.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -81,7 +81,6 @@
 block discarded – undo
81 81
 	 *
82 82
 	 * @since 1.6
83 83
 	 *
84
-	 * @param SMWQueryResult $res
85 84
 	 *
86 85
 	 * @return string
87 86
 	 */
Please login to merge, or discard this patch.
phpunit/Integration/MediaWiki/Hooks/ParserFirstCallInitIntegrationTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -168,6 +168,9 @@
 block discarded – undo
168 168
 		return $provider;
169 169
 	}
170 170
 
171
+	/**
172
+	 * @param \SMW\ParserOutput|null $parserOutput
173
+	 */
171 174
 	private function findSemanticataFromOutput( $parserOutput ) {
172 175
 
173 176
 		if ( method_exists( $parserOutput, 'getExtensionData' ) ) {
Please login to merge, or discard this patch.
src/DataValues/ErrorMsgTextValue.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
41 41
 	/**
42 42
 	 * @see DataValue::loadDataItem
43 43
 	 *
44
-	 * @param SMWDataItem $dataitem
44
+	 * @param DataItem $dataItem
45 45
 	 *
46 46
 	 * @return boolean
47 47
 	 */
Please login to merge, or discard this patch.
src/Message.php 1 patch
Doc Comments   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
 	/**
61 61
 	 * @since 2.4
62 62
 	 *
63
-	 * @param $type
63
+	 * @param string $type
64 64
 	 */
65 65
 	public static function deregisterHandlerFor( $type ) {
66 66
 		unset( self::$messageHandler[$type] );
@@ -96,7 +96,6 @@  discard block
 block discarded – undo
96 96
 	 *
97 97
 	 * @since 2.5
98 98
 	 *
99
-	 * @param string|array $parameters
100 99
 	 * @param integer|null $type
101 100
 	 *
102 101
 	 * @return string
@@ -119,7 +118,7 @@  discard block
 block discarded – undo
119 118
 	 *
120 119
 	 * @since 2.5
121 120
 	 *
122
-	 * @param string $messageId
121
+	 * @param string $message
123 122
 	 *
124 123
 	 * @return boolean
125 124
 	 */
@@ -130,7 +129,6 @@  discard block
 block discarded – undo
130 129
 	/**
131 130
 	 * @since 2.5
132 131
 	 *
133
-	 * @param string $json
134 132
 	 * @param integer|null $type
135 133
 	 * @param integer|null $language
136 134
 	 *
Please login to merge, or discard this patch.
includes/datavalues/SMW_DV_Time.php 1 patch
Doc Comments   +16 added lines, -7 removed lines patch added patch discarded remove patch
@@ -186,14 +186,17 @@  discard block
 block discarded – undo
186 186
 	 * The function sets the provided call-by-ref values to the respective
187 187
 	 * values. If errors are encountered, they are added to the objects
188 188
 	 * error list and false is returned. Otherwise, true is returned.
189
-	 * @param $string string input time representation, e.g. "12 May 2007 13:45:23-3:30"
189
+	 * @param string $string string input time representation, e.g. "12 May 2007 13:45:23-3:30"
190 190
 	 * @param $datecomponents array of strings that might belong to the specification of a date
191 191
 	 * @param $calendarmodesl string if model was set in input, otherwise false
192
-	 * @param $era string '+' or '-' if provided, otherwise false
193
-	 * @param $hours integer set to a value between 0 and 24
194
-	 * @param $minutes integer set to a value between 0 and 59
195
-	 * @param $seconds integer set to a value between 0 and 59, or false if not given
196
-	 * @param $timeoffset double set to a value for time offset (e.g. 3.5), or false if not given
192
+	 * @param boolean $era string '+' or '-' if provided, otherwise false
193
+	 * @param boolean $hours integer set to a value between 0 and 24
194
+	 * @param boolean $minutes integer set to a value between 0 and 59
195
+	 * @param boolean $seconds integer set to a value between 0 and 59, or false if not given
196
+	 * @param boolean $timeoffset double set to a value for time offset (e.g. 3.5), or false if not given
197
+	 * @param boolean $calendarmodel
198
+	 * @param boolean $microseconds
199
+	 * @param boolean $timezone
197 200
 	 * @return boolean stating if the parsing succeeded
198 201
 	 * @todo This method in principle allows date parsing to be internationalized further. Should be done.
199 202
 	 */
@@ -409,7 +412,7 @@  discard block
 block discarded – undo
409 412
 	 * messages are added to the objects list of errors, and false is
410 413
 	 * returned. Otherwise, true is returned.
411 414
 	 * @param $datecomponents array of strings that might belong to the specification of a date
412
-	 * @param $date array set to result
415
+	 * @param boolean $date array set to result
413 416
 	 * @return boolean stating if successful
414 417
 	 */
415 418
 	protected function interpretDateComponents( $datecomponents, &$date ) {
@@ -807,10 +810,16 @@  discard block
 block discarded – undo
807 810
 		}
808 811
 	}
809 812
 
813
+	/**
814
+	 * @param string $value
815
+	 */
810 816
 	private function isInterpretableAsYearOnly( $value ) {
811 817
 		return strpos( $value, ' ' ) === false && is_numeric( strval( $value ) ) && ( strval( $value ) < 0 || strlen( $value ) < 6 );
812 818
 	}
813 819
 
820
+	/**
821
+	 * @param string $value
822
+	 */
814 823
 	private function isInterpretableAsTimestamp( $value ) {
815 824
 		// 1200-11-02T12:03:25 or 20120320055913
816 825
 		return ( ( strlen( $value ) > 4 && substr( $value, 10, 1 ) === 'T' ) || strlen( $value ) == 14 ) && wfTimestamp( TS_MW, $value ) !== false;
Please login to merge, or discard this patch.
includes/specials/SMW_SpecialAsk.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -770,6 +770,9 @@  discard block
 block discarded – undo
770 770
 		return '(' . $downloadLinks . ')';
771 771
 	}
772 772
 
773
+	/**
774
+	 * @param string $html
775
+	 */
773 776
 	private function doFinalModificationsOnBorrowedOutput( &$html, &$searchInfoText ) {
774 777
 
775 778
 		if ( !$this->getRequest()->getCheck( 'bTitle' ) ) {
@@ -790,6 +793,7 @@  discard block
 block discarded – undo
790 793
 
791 794
 	/**
792 795
 	 * FIXME MW 1.25
796
+	 * @param string $key
793 797
 	 */
794 798
 	private function addExternalHelpLinkFor( $key ) {
795 799
 
Please login to merge, or discard this patch.
src/Exporter/ResourceBuilders/PropertyValueResourceBuilder.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -94,6 +94,9 @@  discard block
 block discarded – undo
94 94
 		}
95 95
 	}
96 96
 
97
+	/**
98
+	 * @param DIProperty $property
99
+	 */
97 100
 	protected function getResourceElementForProperty( $property ) {
98 101
 
99 102
 		$key = 'resource:builder:' . $property->getKey();
@@ -112,6 +115,9 @@  discard block
 block discarded – undo
112 115
 		return $resourceElement;
113 116
 	}
114 117
 
118
+	/**
119
+	 * @param DIProperty $property
120
+	 */
115 121
 	protected function getResourceElementHelperForProperty( $property ) {
116 122
 
117 123
 		$key = 'resource:builder:aux:' . $property->getKey();
Please login to merge, or discard this patch.
src/DataValues/ExternalIdentifierValue.php 1 patch
Doc Comments   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,6 @@  discard block
 block discarded – undo
40 40
 	/**
41 41
 	 * @see DataValue::getShortWikiText
42 42
 	 *
43
-	 * @param string $value
44 43
 	 */
45 44
 	public function getShortWikiText( $linker = null ) {
46 45
 
@@ -137,6 +136,9 @@  discard block
 block discarded – undo
137 136
 		return $dataValue->getDataItem();
138 137
 	}
139 138
 
139
+	/**
140
+	 * @return boolean
141
+	 */
140 142
 	private function getExternalFormattedUri( $value ) {
141 143
 
142 144
 		if ( $this->externalFormattedUri !== null ) {
Please login to merge, or discard this patch.