Completed
Push — master ( 07dd29...2a8480 )
by mw
409:44 queued 374:41
created
src/MediaWiki/Specials/SearchByProperty/PageBuilder.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -161,6 +161,9 @@  discard block
 block discarded – undo
161 161
 		return array( str_replace( '_', ' ', $resultMessage ), $resultList, $exactCount );
162 162
 	}
163 163
 
164
+	/**
165
+	 * @param integer $exactCount
166
+	 */
164 167
 	private function getNearbyResults( $exactResults, $exactCount ) {
165 168
 
166 169
 		$resultList = '';
@@ -290,6 +293,9 @@  discard block
 block discarded – undo
290 293
 		return "<ul>$html</ul>";
291 294
 	}
292 295
 
296
+	/**
297
+	 * @param integer $exactCount
298
+	 */
293 299
 	private function canQueryNearbyResults( $exactCount ) {
294 300
 		return $exactCount < ( $this->pageRequestOptions->limit / 3 ) && $this->pageRequestOptions->nearbySearch && $this->pageRequestOptions->valueString !== '';
295 301
 	}
Please login to merge, or discard this patch.
src/Query/Language/ClassDescription.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -99,6 +99,10 @@
 block discarded – undo
99 99
 		return SMW_CATEGORY_QUERY;
100 100
 	}
101 101
 
102
+	/**
103
+	 * @param integer $maxsize
104
+	 * @param integer $maxdepth
105
+	 */
102 106
 	public function prune( &$maxsize, &$maxdepth, &$log ) {
103 107
 
104 108
 		if ( $maxsize >= $this->getSize() ) {
Please login to merge, or discard this patch.
src/SPARQLStore/QueryEngine/RepositoryResult.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@
 block discarded – undo
73 73
 	/**
74 74
 	 * Get the number of rows in the result object.
75 75
 	 *
76
-	 * @return interger number of result rows
76
+	 * @return integer number of result rows
77 77
 	 */
78 78
 	public function numRows() {
79 79
 		return count( $this->data );
Please login to merge, or discard this patch.
src/SPARQLStore/QueryEngine/XmlResponseParser.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 $xmlResultData
131
+	 */
129 132
 	private function parseXml( $xmlResultData ) {
130 133
 		return xml_parse( $this->parser, $xmlResultData, true );
131 134
 	}
Please login to merge, or discard this patch.
src/SPARQLStore/SPARQLStore.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -403,7 +403,7 @@
 block discarded – undo
403 403
 	 *
404 404
 	 * @param string $connectionTypeId
405 405
 	 *
406
-	 * @return mixed
406
+	 * @return RepositoryConnection
407 407
 	 */
408 408
 	public function getConnection( $connectionTypeId = 'sparql' ) {
409 409
 
Please login to merge, or discard this patch.
src/SQLStore/Lookup/CachedListLookup.php 1 patch
Doc Comments   +13 added lines, -1 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
 	 *
52 52
 	 * @param ListLookup $listLookup
53 53
 	 * @param Cache $cache
54
-	 * @param stdClass $cacheOptions
54
+	 * @param \stdClass $cacheOptions
55 55
 	 */
56 56
 	public function __construct( ListLookup $listLookup, Cache $cache, \stdClass $cacheOptions ) {
57 57
 		$this->listLookup = $listLookup;
@@ -149,6 +149,10 @@  discard block
 block discarded – undo
149 149
 		$this->cache->delete( $id );
150 150
 	}
151 151
 
152
+	/**
153
+	 * @param string $key
154
+	 * @param string $optionsKey
155
+	 */
152 156
 	private function tryFetchFromCache( $key, $optionsKey ) {
153 157
 
154 158
 		if ( !$this->cache->contains( $key ) ) {
@@ -167,6 +171,11 @@  discard block
 block discarded – undo
167 171
 		return $data['list'];
168 172
 	}
169 173
 
174
+	/**
175
+	 * @param string $key
176
+	 * @param string $optionsKey
177
+	 * @param integer $time
178
+	 */
170 179
 	private function saveToCache( $key, $optionsKey, $list, $time, $ttl ) {
171 180
 
172 181
 		$this->timestamp = $time;
@@ -185,6 +194,9 @@  discard block
 block discarded – undo
185 194
 		$this->cache->save( $optionsKey, serialize( $data ), $ttl );
186 195
 	}
187 196
 
197
+	/**
198
+	 * @param string $id
199
+	 */
188 200
 	private function getCacheKey( $id ) {
189 201
 
190 202
 		$optionsKey = '';
Please login to merge, or discard this patch.
src/SQLStore/Lookup/PropertyUsageListLookup.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
 	 *
41 41
 	 * @param Store $store
42 42
 	 * @param PropertyStatisticsStore $propertyStatisticsStore
43
-	 * @param RequestOptions $requestOptions|null
43
+	 * @param RequestOptions $requestOptions
44 44
 	 */
45 45
 	public function __construct( Store $store, PropertyStatisticsStore $propertyStatisticsStore, RequestOptions $requestOptions = null ) {
46 46
 		$this->store = $store;
Please login to merge, or discard this patch.
src/SQLStore/Lookup/UndeclaredPropertyListLookup.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
 	 *
40 40
 	 * @param Store $store
41 41
 	 * @param string $defaultPropertyType
42
-	 * @param RequestOptions $requestOptions|null
42
+	 * @param RequestOptions $requestOptions
43 43
 	 */
44 44
 	public function __construct( Store $store, $defaultPropertyType, RequestOptions $requestOptions = null ) {
45 45
 		$this->store = $store;
@@ -152,6 +152,9 @@  discard block
 block discarded – undo
152 152
 		return $property;
153 153
 	}
154 154
 
155
+	/**
156
+	 * @param string $type
157
+	 */
155 158
 	private function getPropertyTableForType( $type ) {
156 159
 
157 160
 		$propertyTables = $this->store->getPropertyTables();
Please login to merge, or discard this patch.
src/SQLStore/PropertyTableRowDiffer.php 1 patch
Doc Comments   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -161,6 +161,9 @@  discard block
 block discarded – undo
161 161
 		return $this->compositePropertyTableDiffIterator;
162 162
 	}
163 163
 
164
+	/**
165
+	 * @param integer $sid
166
+	 */
164 167
 	private function fetchPropertyTableHashesForId( $sid ) {
165 168
 		return $this->store->getObjectIds()->getPropertyTableHashes( $sid );
166 169
 	}
@@ -188,7 +191,6 @@  discard block
 block discarded – undo
188 191
 	 *
189 192
 	 * @since 1.8
190 193
 	 * @param integer $sid
191
-	 * @param TableDefinition $tableDeclaration
192 194
 	 * @return array
193 195
 	 */
194 196
 	private function fetchCurrentContentsForPropertyTable( $sid, TableDefinition $propertyTable ) {
Please login to merge, or discard this patch.