Completed
Push — master ( ebe875...a265d1 )
by mw
94:25 queued 69:18
created
includes/export/SMW_Serializer.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -227,6 +227,7 @@  discard block
 block discarded – undo
227 227
 	/**
228 228
 	 * State that a certain declaration is needed. The method checks if the
229 229
 	 * declaration is already available, and records a todo otherwise.
230
+	 * @param integer $decltype
230 231
 	 */
231 232
 	protected function requireDeclaration( SMWExpResource $resource, $decltype ) {
232 233
 		// Do not declare predefined OWL language constructs:
@@ -282,7 +283,7 @@  discard block
 block discarded – undo
282 283
 	 * the given element has been declared to has the given type.
283 284
 	 *
284 285
 	 * @param $element SMWExpResource specifying the element to update
285
-	 * @param $typeflag integer specifying the type (e.g. SMW_SERIALIZER_DECL_CLASS)
286
+	 * @param integer $typeflag integer specifying the type (e.g. SMW_SERIALIZER_DECL_CLASS)
286 287
 	 */
287 288
 	protected function declarationDone( SMWExpResource $element, $typeflag ) {
288 289
 		$name = $element->getUri();
Please login to merge, or discard this patch.
includes/export/SMW_Serializer_RDFXML.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -195,7 +195,7 @@  discard block
 block discarded – undo
195 195
 	 * @param $expResourceProperty SMWExpNsResource the property to use
196 196
 	 * @param $expResource SMWExpResource the data value to use
197 197
 	 * @param $indent string specifying a prefix for indentation (usually a sequence of tabs)
198
-	 * @param $isClassTypeProp boolean whether the resource must be declared as a class
198
+	 * @param boolean $isClassTypeProp boolean whether the resource must be declared as a class
199 199
 	 */
200 200
 	protected function serializeExpResource( SMWExpNsResource $expResourceProperty, SMWExpResource $expResource, $indent, $isClassTypeProp ) {
201 201
 		$this->post_ns_buffer .= $indent . '<' . $expResourceProperty->getQName();
@@ -221,7 +221,7 @@  discard block
 block discarded – undo
221 221
 	 * @param $expResourceProperty SMWExpNsResource the property to use
222 222
 	 * @param $expResource array of (SMWExpResource or SMWExpData)
223 223
 	 * @param $indent string specifying a prefix for indentation (usually a sequence of tabs)
224
-	 * @param $isClassTypeProp boolean whether the resource must be declared as a class
224
+	 * @param boolean $isClassTypeProp boolean whether the resource must be declared as a class
225 225
 	 *
226 226
 	 * @bug The $isClassTypeProp parameter is not properly taken into account.
227 227
 	 * @bug Individual resources are not serialised properly.
@@ -248,7 +248,7 @@  discard block
 block discarded – undo
248 248
 	 * DTD entity declarations in XML. Namely, this require the percent sign
249 249
 	 * to be replaced.
250 250
 	 *
251
-	 * @param $string string to be escaped
251
+	 * @param string $string string to be escaped
252 252
 	 * @return string
253 253
 	 */
254 254
 	protected function makeValueEntityString( $string ) {
Please login to merge, or discard this patch.
includes/export/SMW_Serializer_Turtle.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -140,7 +140,7 @@
 block discarded – undo
140 140
 	 * increased indentation.
141 141
 	 *
142 142
 	 * @param $data SMWExpData containing the data to be serialised.
143
-	 * @param $indent string specifying a prefix for indentation (usually a sequence of tabs)
143
+	 * @param string $indent string specifying a prefix for indentation (usually a sequence of tabs)
144 144
 	 */
145 145
 	protected function serializeNestedExpData( SMWExpData $data, $indent ) {
146 146
 		if ( count( $data->getProperties() ) == 0 ) {
Please login to merge, or discard this patch.
includes/formatters/MessageFormatter.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -125,6 +125,7 @@  discard block
 block discarded – undo
125 125
 	 *
126 126
 	 * @since 1.9
127 127
 	 *
128
+	 * @param string $type
128 129
 	 * @return MessageFormatter
129 130
 	 */
130 131
 	public function setType( $type ) {
@@ -225,7 +226,6 @@  discard block
 block discarded – undo
225 226
 	 *
226 227
 	 * @since 1.9
227 228
 	 *
228
-	 * @param boolean $escape
229 229
 	 * @param boolean $html
230 230
 	 *
231 231
 	 * @return string
Please login to merge, or discard this patch.
includes/parserhooks/AskParserFunction.php 1 patch
Doc Comments   +6 added lines, -3 removed lines patch added patch discarded remove patch
@@ -67,6 +67,7 @@  discard block
 block discarded – undo
67 67
 	 *
68 68
 	 * @since 1.9
69 69
 	 *
70
+	 * @param boolean $mode
70 71
 	 * @return AskParserFunction
71 72
 	 */
72 73
 	public function setShowMode( $mode ) {
@@ -79,7 +80,7 @@  discard block
 block discarded – undo
79 80
 	 *
80 81
 	 * @since 1.9
81 82
 	 *
82
-	 * @return string|null
83
+	 * @return string
83 84
 	 */
84 85
 	public function isQueryDisabled() {
85 86
 		return $this->messageFormatter->addFromKey( 'smw_iq_disabled' )->getHtml();
@@ -98,9 +99,8 @@  discard block
 block discarded – undo
98 99
 	 *
99 100
 	 * @since 1.9
100 101
 	 *
101
-	 * @param array $params
102 102
 	 *
103
-	 * @return string|null
103
+	 * @return string
104 104
 	 */
105 105
 	public function parse( array $rawParams ) {
106 106
 
@@ -187,6 +187,9 @@  discard block
 block discarded – undo
187 187
 		return $result;
188 188
 	}
189 189
 
190
+	/**
191
+	 * @param \SMWQuery $query
192
+	 */
190 193
 	private function createQueryProfile( $query, $format, $duration ) {
191 194
 
192 195
 		// In case of an query error add a marker to the subject for
Please login to merge, or discard this patch.
includes/parserhooks/ShowParserFunction.php 1 patch
Doc Comments   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -50,9 +50,8 @@  discard block
 block discarded – undo
50 50
 	 *
51 51
 	 * @since 1.9
52 52
 	 *
53
-	 * @param array $params
54 53
 	 *
55
-	 * @return string|null
54
+	 * @return string
56 55
 	 */
57 56
 	public function parse( array $rawParams ) {
58 57
 
@@ -73,7 +72,7 @@  discard block
 block discarded – undo
73 72
 	 *
74 73
 	 * @since 1.9
75 74
 	 *
76
-	 * @return string|null
75
+	 * @return string
77 76
 	 */
78 77
 	public function isQueryDisabled() {
79 78
 		return $this->messageFormatter->addFromKey( 'smw_iq_disabled' )->getHtml();
Please login to merge, or discard this patch.
includes/parserhooks/SubobjectParserFunction.php 2 patches
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -2,8 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace SMW;
4 4
 
5
-use Parser;
6
-
7 5
 /**
8 6
  * Provides the {{#subobject}} parser function
9 7
  *
Please login to merge, or discard this patch.
Doc Comments   +8 added lines, -2 removed lines patch added patch discarded remove patch
@@ -84,9 +84,9 @@  discard block
 block discarded – undo
84 84
 	/**
85 85
 	 * @since 1.9
86 86
 	 *
87
-	 * @param ParserParameterProcessor $params
87
+	 * @param ParserParameterProcessor $parameters
88 88
 	 *
89
-	 * @return string|null
89
+	 * @return string
90 90
 	 */
91 91
 	public function parse( ParserParameterProcessor $parameters ) {
92 92
 
@@ -202,6 +202,9 @@  discard block
 block discarded – undo
202 202
 		return $parameters;
203 203
 	}
204 204
 
205
+	/**
206
+	 * @param \SMWContainerSemanticData $semanticData
207
+	 */
205 208
 	private function doAugmentSortKeyForWhenDisplayTitleIsAccessible( $semanticData ) {
206 209
 
207 210
 		$sortkey = new DIProperty( DIProperty::TYPE_SORTKEY );
@@ -221,6 +224,9 @@  discard block
 block discarded – undo
221 224
 		);
222 225
 	}
223 226
 
227
+	/**
228
+	 * @param DIWikiPage $subject
229
+	 */
224 230
 	private function addErrorWithMsg( $subject, $errorMsg ) {
225 231
 
226 232
 		$error = new Error( $subject );
Please login to merge, or discard this patch.
includes/querypages/WantedPropertiesQueryPage.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -107,7 +107,7 @@
 block discarded – undo
107 107
 	/**
108 108
 	 * Get the list of results.
109 109
 	 *
110
-	 * @param SMWRequestOptions $requestOptions
110
+	 * @param SMWRequestOptions $requestoptions
111 111
 	 * @return array of SMWDIProperty|SMWDIError
112 112
 	 */
113 113
 	function getResults( $requestoptions ) {
Please login to merge, or discard this patch.
includes/queryprinters/CategoryResultPrinter.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -229,6 +229,10 @@
 block discarded – undo
229 229
 		return ByLanguageCollationMapper::getInstance()->findFirstLetterForCategory( $sortKey );
230 230
 	}
231 231
 
232
+	/**
233
+	 * @param SMWQueryResult $res
234
+	 * @param boolean $first_col
235
+	 */
232 236
 	private function addRowFieldsToTemplate( $res, $row, &$first_col, &$columnIndex, $templateRenderer ) {
233 237
 
234 238
 		// explicitly number parameters for more robust parsing (values may contain "=")
Please login to merge, or discard this patch.