Completed
Push — master ( 944e8c...873a6a )
by mw
32:14
created
src/MediaWiki/Api/PropertyListByApiRequest.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use SMW\Store;
6 6
 use SMW\DIProperty;
7
-use SMW\NamespaceUriFinder;
8 7
 use SMW\RequestOptions;
9 8
 use SMW\StringCondition;
10 9
 
Please login to merge, or discard this patch.
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -182,6 +182,11 @@
 block discarded – undo
182 182
 		return true;
183 183
 	}
184 184
 
185
+	/**
186
+	 * @param string $property
187
+	 *
188
+	 * @return string
189
+	 */
185 190
 	private function preprocessPropertyString( $property ) {
186 191
 
187 192
 		if ( $property{0} !== '_' ) {
Please login to merge, or discard this patch.
src/MediaWiki/Database.php 1 patch
Doc Comments   +7 added lines, -2 removed lines patch added patch discarded remove patch
@@ -94,7 +94,6 @@  discard block
 block discarded – undo
94 94
 	 *
95 95
 	 * @since 1.9.0.2
96 96
 	 *
97
-	 * @param string $tableName
98 97
 	 *
99 98
 	 * @return string
100 99
 	 */
@@ -120,7 +119,7 @@  discard block
 block discarded – undo
120 119
 	 *
121 120
 	 * @since 1.9.0.2
122 121
 	 *
123
-	 * @param mixed $results
122
+	 * @param string $results
124 123
 	 *
125 124
 	 * @return integer
126 125
 	 */
@@ -149,6 +148,7 @@  discard block
 block discarded – undo
149 148
 	 * @param $conditions
150 149
 	 * @param array $options
151 150
 	 * @param array $joinConditions
151
+	 * @param string $fname
152 152
 	 *
153 153
 	 * @return ResultWrapper
154 154
 	 * @throws UnexpectedValueException
@@ -320,6 +320,7 @@  discard block
 block discarded – undo
320 320
 	 * @see DatabaseBase::insert
321 321
 	 *
322 322
 	 * @since 1.9.1
323
+	 * @param string $table
323 324
 	 */
324 325
 	public function insert( $table, $rows, $fname = __METHOD__, $options = array() ) {
325 326
 		return $this->writeConnection()->insert( $table, $rows, $fname, $options );
@@ -338,6 +339,7 @@  discard block
 block discarded – undo
338 339
 	 * @see DatabaseBase::delete
339 340
 	 *
340 341
 	 * @since 1.9.1
342
+	 * @param string $table
341 343
 	 */
342 344
 	public function delete( $table, $conds, $fname = __METHOD__ ) {
343 345
 		return $this->writeConnection()->delete( $table, $conds, $fname );
@@ -370,6 +372,8 @@  discard block
 block discarded – undo
370 372
 	 * @see DatabaseBase::selectField
371 373
 	 *
372 374
 	 * @since 1.9.2
375
+	 * @param string $table
376
+	 * @param string $fieldName
373 377
 	 */
374 378
 	public function selectField( $table, $fieldName, $conditions = '', $fname = __METHOD__, $options = array() ) {
375 379
 		return $this->readConnection()->selectField( $table, $fieldName, $conditions, $fname, $options );
@@ -379,6 +383,7 @@  discard block
 block discarded – undo
379 383
 	 * @see DatabaseBase::estimateRowCount
380 384
 	 *
381 385
 	 * @since 2.1
386
+	 * @param string $table
382 387
 	 */
383 388
 	public function estimateRowCount( $table, $vars = '*', $conditions = '', $fname = __METHOD__, $options = array() ) {
384 389
 		return $this->readConnection()->estimateRowCount(
Please login to merge, or discard this patch.
src/MediaWiki/Hooks/HookRegistry.php 2 patches
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
 	 *
74 74
 	 * @param string $name
75 75
 	 *
76
-	 * @return Callable|false
76
+	 * @return \Closure
77 77
 	 */
78 78
 	public function getHandlerFor( $name ) {
79 79
 		return isset( $this->handlers[$name] ) ? $this->handlers[$name] : false;
@@ -98,6 +98,9 @@  discard block
 block discarded – undo
98 98
 		}
99 99
 	}
100 100
 
101
+	/**
102
+	 * @param string $basePath
103
+	 */
101 104
 	private function addCallbackHandlers( $basePath, $globalVars ) {
102 105
 
103 106
 		$eventHandler = EventHandler::getInstance();
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -2,9 +2,7 @@
 block discarded – undo
2 2
 
3 3
 namespace SMW\MediaWiki\Hooks;
4 4
 
5
-use Parser;
6 5
 use Hooks;
7
-use RuntimeException;
8 6
 use SMW\ApplicationFactory;
9 7
 use SMW\EventHandler;
10 8
 use SMW\NamespaceManager;
Please login to merge, or discard this patch.
src/MediaWiki/Hooks/NewRevisionFromEditComplete.php 1 patch
Doc Comments   -2 removed lines patch added patch discarded remove patch
@@ -53,8 +53,6 @@
 block discarded – undo
53 53
 	/**
54 54
 	 * @since  1.9
55 55
 	 *
56
-	 * @param WikiPage $article the article edited
57
-	 * @param Revision $rev the new revision. Revision object
58 56
 	 * @param $baseId the revision ID this was based off, if any
59 57
 	 * @param User $user the revision author. User object
60 58
 	 */
Please login to merge, or discard this patch.
src/MediaWiki/Hooks/TitleMoveComplete.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@
 block discarded – undo
66 66
 	/**
67 67
 	 * @since 1.9
68 68
 	 *
69
-	 * @return true
69
+	 * @return boolean
70 70
 	 */
71 71
 	public function process() {
72 72
 
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\MediaWiki\Hooks;
4 4
 
5 5
 use SMW\ApplicationFactory;
6
-use SMW\Factbox\FactboxCache;
7 6
 
8 7
 /**
9 8
  * TitleMoveComplete occurs whenever a request to move an article
Please login to merge, or discard this patch.
src/MediaWiki/Jobs/ParserCachePurgeJob.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -86,7 +86,7 @@
 block discarded – undo
86 86
 	 * for all at once is not feasible hence the iterative process of creating
87 87
 	 * batches that run through the job scheduler.
88 88
 	 *
89
-	 * @param array|string $idList
89
+	 * @param boolean $idList
90 90
 	 */
91 91
 	private function findEmbeddedQueryTargetLinksBatches( $idList ) {
92 92
 
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,6 @@
 block discarded – undo
6 6
 use SMW\SPARQLStore\QueryEngine\Interpreter\ThingDescriptionInterpreter;
7 7
 use SMW\SPARQLStore\QueryEngine\CompoundConditionBuilder;
8 8
 use SMW\Query\Language\ThingDescription;
9
-use SMW\DIWikiPage;
10 9
 use SMW\DIProperty;
11 10
 
12 11
 /**
Please login to merge, or discard this patch.
src/MediaWiki/Jobs/UpdateJob.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -148,6 +148,9 @@
 block discarded – undo
148 148
 		return $this->updateStore( $parserData );
149 149
 	}
150 150
 
151
+	/**
152
+	 * @param \SMW\ParserData $parserData
153
+	 */
151 154
 	private function updateStore( $parserData ) {
152 155
 
153 156
 		$dispatchContext = EventHandler::getInstance()->newDispatchContext();
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,6 @@
 block discarded – undo
5 5
 use SMW\SPARQLStore\QueryEngine\QueryEngine;
6 6
 use SMW\SPARQLStore\QueryEngine\EngineOptions;
7 7
 use SMW\SPARQLStore\QueryEngine\QueryResultFactory;
8
-use SMW\DIProperty;
9 8
 use SMWQuery as Query;
10 9
 
11 10
 /**
Please login to merge, or discard this patch.
src/MediaWiki/MessageBuilder.php 1 patch
Doc Comments   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
 	/**
62 62
 	 * @since 2.1
63 63
 	 *
64
-	 * @param mixed $number
64
+	 * @param integer $number
65 65
 	 * @param boolean $useForSpecialNumbers set to true for numbers like dates
66 66
 	 *
67 67
 	 * @return string
@@ -89,6 +89,8 @@  discard block
 block discarded – undo
89 89
 	 * @param integer $offset,
90 90
 	 * @param array $query,
91 91
 	 * @param boolean|null $isAtTheEnd
92
+	 * @param integer $limit
93
+	 * @param integer $offset
92 94
 	 *
93 95
 	 * @return string
94 96
 	 */
Please login to merge, or discard this patch.
src/MediaWiki/RedirectTargetFinder.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@  discard block
 block discarded – undo
23 23
 	 *
24 24
 	 * @param string $text
25 25
 	 *
26
-	 * @return Title|null
26
+	 * @return RedirectTargetFinder
27 27
 	 */
28 28
 	public function findRedirectTargetFromText( $text ) {
29 29
 
@@ -61,6 +61,9 @@  discard block
 block discarded – undo
61 61
 		return $this->redirectTarget instanceof Title;
62 62
 	}
63 63
 
64
+	/**
65
+	 * @param string $text
66
+	 */
64 67
 	private function findFromText( $text ) {
65 68
 
66 69
 		if ( $this->hasContentHandler() ) {
Please login to merge, or discard this patch.