Completed
Push — master ( ff2cd3...da92b9 )
by mw
236:43 queued 201:44
created
src/Factbox/Factbox.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,6 @@
 block discarded – undo
11 11
 use SMW\MediaWiki\HtmlTableRenderer;
12 12
 use SMW\MediaWiki\MessageBuilder;
13 13
 use SMW\ParserData;
14
-use SMW\Profiler;
15 14
 use SMW\SemanticData;
16 15
 use SMW\Store;
17 16
 use SMWInfolink;
Please login to merge, or discard this patch.
Doc Comments   +7 added lines, -2 removed lines patch added patch discarded remove patch
@@ -94,6 +94,7 @@  discard block
 block discarded – undo
94 94
 	 * @since 2.1
95 95
 	 *
96 96
 	 * @param boolean
97
+	 * @param boolean $preview
97 98
 	 */
98 99
 	public function useInPreview( $preview ) {
99 100
 		$this->useInPreview = $preview;
@@ -193,7 +194,7 @@  discard block
 block discarded – undo
193 194
 	 *
194 195
 	 * @since 1.9
195 196
 	 *
196
-	 * @return array
197
+	 * @return string[]
197 198
 	 */
198 199
 	protected function getModules() {
199 200
 		return array(
@@ -211,7 +212,8 @@  discard block
 block discarded – undo
211 212
 	 *
212 213
 	 * @since 1.9
213 214
 	 *
214
-	 * @return integer $showFactbox
215
+	 * @param string|null $showFactbox
216
+	 * @return string|null $showFactbox
215 217
 	 *
216 218
 	 * @return string|null
217 219
 	 */
@@ -397,6 +399,9 @@  discard block
 block discarded – undo
397 399
 		}
398 400
 	}
399 401
 
402
+	/**
403
+	 * @param \SMWDataValue $dataValue
404
+	 */
400 405
 	private function getInfolink( $dataValue ) {
401 406
 
402 407
 		if ( $dataValue->getProperty()->getKey() !== '_SOBJ' ) {
Please login to merge, or discard this patch.
src/Maintenance/ConceptCacheRebuilder.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -199,6 +199,9 @@  discard block
 block discarded – undo
199 199
 		return $skip;
200 200
 	}
201 201
 
202
+	/**
203
+	 * @return string
204
+	 */
202 205
 	private function performAction( Title $title, DIConcept $concept ) {
203 206
 		$this->reportMessage( "($this->lines) " );
204 207
 
@@ -256,6 +259,9 @@  discard block
 block discarded – undo
256 259
 		return $titleLookup->selectByIdRange( $this->startId, $endId );
257 260
 	}
258 261
 
262
+	/**
263
+	 * @param string $key
264
+	 */
259 265
 	private function hasOption( $key ) {
260 266
 		return isset( $this->options[$key] );
261 267
 	}
@@ -266,6 +272,9 @@  discard block
 block discarded – undo
266 272
 		}
267 273
 	}
268 274
 
275
+	/**
276
+	 * @param integer $date
277
+	 */
269 278
 	private function getCacheDateInfo( $date ) {
270 279
 		return date( 'Y-m-d H:i:s', $date ) . ' (' . floor( ( strtotime( 'now' ) - $date ) / 60 ) . ' minutes old), ';
271 280
 	}
Please login to merge, or discard this patch.
src/MediaWiki/Api/Ask.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@  discard block
 block discarded – undo
72 72
 	 * @codeCoverageIgnore
73 73
 	 * @see ApiBase::getDescription
74 74
 	 *
75
-	 * @return array
75
+	 * @return string[]
76 76
 	 */
77 77
 	public function getDescription() {
78 78
 		return array(
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
 	 * @codeCoverageIgnore
85 85
 	 * @see ApiBase::getExamples
86 86
 	 *
87
-	 * @return array
87
+	 * @return string[]
88 88
 	 */
89 89
 	protected function getExamples() {
90 90
 		return array(
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
 use SMW\EventHandler;
8 7
 
9 8
 /**
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.
src/MediaWiki/Renderer/HtmlColumnListRenderer.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@
 block discarded – undo
81 81
 	/**
82 82
 	 * @since 2.2
83 83
 	 *
84
-	 * @param string $columnListClass
84
+	 * @param string $columnClass
85 85
 	 *
86 86
 	 * @return HtmlColumnListRenderer
87 87
 	 */
Please login to merge, or discard this patch.
src/MediaWiki/Renderer/HtmlTableRenderer.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -85,7 +85,7 @@  discard block
 block discarded – undo
85 85
 	 *
86 86
 	 * @param boolean $transpose
87 87
 	 *
88
-	 * @return TableBuilder
88
+	 * @return HtmlTableRenderer
89 89
 	 */
90 90
 	public function transpose( $transpose = true ) {
91 91
 		$this->transpose = $transpose;
@@ -126,7 +126,7 @@  discard block
 block discarded – undo
126 126
 	 * @param string $content
127 127
 	 * @param array $attributes
128 128
 	 *
129
-	 * @return TableBuilder
129
+	 * @return HtmlTableRenderer
130 130
 	 */
131 131
 	public function addCell( $content = '', $attributes = array() ) {
132 132
 		if ( $content !== '' ) {
@@ -143,7 +143,7 @@  discard block
 block discarded – undo
143 143
 	 * @param string $content
144 144
 	 * @param array $attributes
145 145
 	 *
146
-	 * @return TableBuilder
146
+	 * @return HtmlTableRenderer
147 147
 	 */
148 148
 	public function addHeader( $content = '', $attributes = array() ) {
149 149
 		if ( $content !== '' ) {
@@ -167,7 +167,7 @@  discard block
 block discarded – undo
167 167
 	 *
168 168
 	 * @param array $attributes
169 169
 	 *
170
-	 * @return TableBuilder
170
+	 * @return HtmlTableRenderer
171 171
 	 */
172 172
 	public function addRow( $attributes = array() ) {
173 173
 		if ( $this->tableCells !== array() ) {
Please login to merge, or discard this patch.