Completed
Push — master ( 2472c5...a814e8 )
by mw
35:03
created
src/Query/Parser/DescriptionProcessor.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -166,6 +166,7 @@  discard block
 block discarded – undo
166 166
 	 *
167 167
 	 * The return value is the expected combined description. The object $currentDescription will
168 168
 	 * also be changed (if it was non-NULL).
169
+	 * @param integer $compoundType
169 170
 	 */
170 171
 	private function getCompoundDescription( Description $currentDescription = null, Description $newDescription = null, $compoundType = SMW_CONJUNCTION_QUERY ) {
171 172
 
@@ -201,6 +202,10 @@  discard block
 block discarded – undo
201 202
 		}
202 203
 	}
203 204
 
205
+	/**
206
+	 * @param Description $currentDescription
207
+	 * @param Description $newDescription
208
+	 */
204 209
 	private function newCompoundDescriptionFor( $compoundType, $currentDescription, $newDescription ) {
205 210
 
206 211
 		if ( ( ( $compoundType & SMW_CONJUNCTION_QUERY ) != 0 && ( $currentDescription instanceof Conjunction ) ) ||
Please login to merge, or discard this patch.
src/Exporter/DataItemToExpResourceEncoder.php 2 patches
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -177,6 +177,10 @@  discard block
 block discarded – undo
177 177
 		return $resource;
178 178
 	}
179 179
 
180
+	/**
181
+	 * @param DIWikiPage $diWikiPage
182
+	 * @param string $modifier
183
+	 */
180 184
 	private function newExpNsResource( $diWikiPage, $modifier ) {
181 185
 
182 186
 		 $importDataItem = $this->tryToFindImportDataItem( $diWikiPage, $modifier );
@@ -254,6 +258,9 @@  discard block
 block discarded – undo
254 258
 		);
255 259
 	}
256 260
 
261
+	/**
262
+	 * @return DataItem
263
+	 */
257 264
 	private function tryToFindImportDataItem( DIWikiPage $diWikiPage, $modifier ) {
258 265
 
259 266
 		$importDataItems = null;
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace SMW\Tests\SQLStore;
4 4
 
5 5
 use SMW\SQLStore\PropertyTableOutdatedReferenceDisposer;
6
-use Title;
7 6
 
8 7
 /**
9 8
  * @covers \SMW\SQLStore\PropertyTableOutdatedReferenceDisposer
Please login to merge, or discard this patch.
src/Serializers/QueryResultSerializer.php 1 patch
Doc Comments   +6 added lines, -2 removed lines patch added patch discarded remove patch
@@ -60,7 +60,8 @@  discard block
 block discarded – undo
60 60
 	 *
61 61
 	 * @since 1.7
62 62
 	 *
63
-	 * @param SMWDataItem $dataItem
63
+	 * @param DataItem $dataItem
64
+	 * @param PrintRequest $printRequest
64 65
 	 *
65 66
 	 * @return mixed
66 67
 	 */
@@ -143,7 +144,7 @@  discard block
 block discarded – undo
143 144
 	 *
144 145
 	 * @since 1.7
145 146
 	 *
146
-	 * @param SMWQueryResult $result
147
+	 * @param SMWQueryResult $queryResult
147 148
 	 *
148 149
 	 * @return array
149 150
 	 */
@@ -194,6 +195,9 @@  discard block
 block discarded – undo
194 195
 		return array( 'printrequests' => $printRequests, 'results' => $results);
195 196
 	}
196 197
 
198
+	/**
199
+	 * @param PrintRequest $printRequest
200
+	 */
197 201
 	private static function getSerializedPrintRequestFormat( $printRequest ) {
198 202
 
199 203
 		$serialized = array(
Please login to merge, or discard this patch.
tests/phpunit/Integration/ByJsonScript/QueryTestCaseInterpreter.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -169,7 +169,7 @@  discard block
 block discarded – undo
169 169
 	/**
170 170
 	 * @since 2.4
171 171
 	 *
172
-	 * @return boolean
172
+	 * @return boolean|null
173 173
 	 */
174 174
 	public function isFromCache() {
175 175
 		return isset( $this->contents['queryresult']['isFromCache'] ) ? (bool)$this->contents['queryresult']['isFromCache'] : null;
@@ -275,6 +275,7 @@  discard block
 block discarded – undo
275 275
 	/**
276 276
 	 * @since 2.2
277 277
 	 *
278
+	 * @param string $id
278 279
 	 * @return array
279 280
 	 */
280 281
 	public function getExpectedFormatOuputFor( $id ) {
Please login to merge, or discard this patch.
DVDescriptionDeserializer/MonolingualTextValueDescriptionDeserializer.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -91,6 +91,9 @@
 block discarded – undo
91 91
 		return new Conjunction( $subdescriptions );
92 92
 	}
93 93
 
94
+	/**
95
+	 * @param \SMWDataValue $dataValue
96
+	 */
94 97
 	private function newSubdescription( $dataValue, $comparator ) {
95 98
 
96 99
 		$description = new ValueDescription(
Please login to merge, or discard this patch.
includes/specials/SMW_SpecialTypes.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -141,6 +141,9 @@
 block discarded – undo
141 141
 		return 'pages';
142 142
 	}
143 143
 
144
+	/**
145
+	 * @param SMWDataValue $typeValue
146
+	 */
144 147
 	private function displayExtraInformationAbout( $typeValue ) {
145 148
 
146 149
 		$html = '';
Please login to merge, or discard this patch.
src/DataValues/LanguageCodeValue.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,6 @@
 block discarded – undo
29 29
 	/**
30 30
 	 * @see DataValue::parseUserValue
31 31
 	 *
32
-	 * @param string $value
33 32
 	 */
34 33
 	protected function parseUserValue( $userValue ) {
35 34
 
Please login to merge, or discard this patch.
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.
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.