Completed
Push — master ( 2472c5...a814e8 )
by mw
35:03
created
includes/export/SMW_Exporter.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -403,7 +403,7 @@  discard block
 block discarded – undo
403 403
 	 * represent. Returns null if this attempt failed.
404 404
 	 *
405 405
 	 * @param ExpElement $expElement
406
-	 * @return SMWDataItem or null
406
+	 * @return null|DIWikiPage or null
407 407
 	 */
408 408
 	public function findDataItemForExpElement( ExpElement $expElement ) {
409 409
 		return self::$dataItemByExpElementMatchFinder->tryToFindDataItemForExpElement( $expElement );
@@ -440,7 +440,7 @@  discard block
 block discarded – undo
440 440
 	 * must take the type of the annotated object into account for some
441 441
 	 * reason.
442 442
 	 *
443
-	 * @param $propertyKey string the Id of the special property
443
+	 * @param string $propertyKey string the Id of the special property
444 444
 	 * @param $forNamespace integer the namespace of the page which has a value for this property
445 445
 	 * @return ExpNsResource|null
446 446
 	 */
@@ -620,7 +620,7 @@  discard block
 block discarded – undo
620 620
 	 * elements are always preferred in query answering.
621 621
 	 *
622 622
 	 * @param $dataItem SMWDataItem
623
-	 * @return ExpElement|null
623
+	 * @return ExpLiteral|null
624 624
 	 */
625 625
 	static public function getDataItemHelperExpElement( SMWDataItem $dataItem ) {
626 626
 
Please login to merge, or discard this patch.
includes/queryprinters/FeedResultPrinter.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,6 @@
 block discarded – undo
5 5
 use FeedItem;
6 6
 use ParserOptions;
7 7
 use Sanitizer;
8
-use SMWDIWikiPage;
9 8
 use SMWQueryResult;
10 9
 use TextContent;
11 10
 use Title;
Please login to merge, or discard this patch.
src/GlobalFunctions.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -95,7 +95,6 @@  discard block
 block discarded – undo
95 95
  * $icon should be one of: 'warning' (default), 'info'.
96 96
  *
97 97
  * @param array $messages
98
- * @param string $icon Acts like an enum. Callers must ensure safety, since this value is used directly in the output.
99 98
  * @param string $seperator
100 99
  * @param boolean $escape Should the messages be escaped or not (ie when they already are)
101 100
  *
@@ -201,7 +200,7 @@  discard block
 block discarded – undo
201 200
  * @param mixed $namespace
202 201
  * @param boolean $complete
203 202
  *
204
- * @return true
203
+ * @return boolean
205 204
  *
206 205
  * @codeCoverageIgnore
207 206
  */
Please login to merge, or discard this patch.
src/MediaWiki/Hooks/SkinAfterContent.php 1 patch
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.
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/parserhooks/ShowParserFunction.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -144,7 +144,6 @@
 block discarded – undo
144 144
 	/**
145 145
 	 * Returns RequestContext object
146 146
 	 *
147
-	 * @param array $params
148 147
 	 *
149 148
 	 * @return RequestContext
150 149
 	 */
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/SQLStore/QueryEngine/Fulltext/TextSanitizer.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -147,6 +147,9 @@
 block discarded – undo
147 147
 		return $this->fetchFromParser();
148 148
 	}
149 149
 
150
+	/**
151
+	 * @param string $text
152
+	 */
150 153
 	protected function parseText( $text ) {
151 154
 
152 155
 		$this->parserOutput = $this->parser->parse(
Please login to merge, or discard this patch.