Completed
Push — master ( 944e8c...873a6a )
by mw
32:14
created
src/MediaWiki/Specials/SearchByProperty/QueryResultLookup.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
 	/**
38 38
 	 * @since 2.1
39 39
 	 *
40
-	 * @param  QueryOptions $pageRequestOptions
40
+	 * @param  PageRequestOptions $pageRequestOptions
41 41
 	 *
42 42
 	 * @return array of array(SMWWikiPageValue, SMWDataValue) with the
43 43
 	 * first being the entity, and the second the value
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
 	 * on the property, ordered, and sorted by ending with the smallest
75 75
 	 * one.
76 76
 	 *
77
-	 * @param QueryOptions $pageRequestOptions
77
+	 * @param PageRequestOptions $pageRequestOptions
78 78
 	 * @param integer $count How many entities have the exact same value on the property?
79 79
 	 * @param integer $greater Should the values be bigger? Set false for smaller values.
80 80
 	 *
Please login to merge, or discard this patch.
src/MediaWiki/Specials/SpecialDeferredRequestDispatcher.php 1 patch
Doc Comments   +8 added lines patch added patch discarded remove patch
@@ -71,6 +71,7 @@  discard block
 block discarded – undo
71 71
 
72 72
 	/**
73 73
 	 * @see SpecialPage::execute
74
+	 * @param string $query
74 75
 	 */
75 76
 	public function execute( $query ) {
76 77
 
@@ -116,6 +117,9 @@  discard block
 block discarded – undo
116 117
 		return true;
117 118
 	}
118 119
 
120
+	/**
121
+	 * @param string $header
122
+	 */
119 123
 	private function modifyHttpHeader( $header, $message = '' ) {
120 124
 
121 125
 		if ( !$this->allowedToModifyHttpHeader ) {
@@ -158,6 +162,10 @@  discard block
 block discarded – undo
158 162
 	}
159 163
 
160 164
 	// 1.19 doesn't have a getMethod
165
+
166
+	/**
167
+	 * @param string $key
168
+	 */
161 169
 	private function isHttpRequestMethod( $key ) {
162 170
 
163 171
 		if ( method_exists( $this->getRequest(), 'getMethod') ) {
Please login to merge, or discard this patch.
src/ParserFunctions/InfoParserFunction.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
 	 * @param Parser $parser
23 23
 	 * @param ProcessingResult $result
24 24
 	 *
25
-	 * @return mixed
25
+	 * @return string
26 26
 	 */
27 27
 	public function handle( Parser $parser, ProcessingResult $result ) {
28 28
 		$parameters = $result->getParameters();
Please login to merge, or discard this patch.
src/PropertyAnnotator/MandatoryTypePropertyAnnotator.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -51,6 +51,9 @@  discard block
 block discarded – undo
51 51
 		$this->addTypeFromImportVocabulary( $property, current( $dataItems ) );
52 52
 	}
53 53
 
54
+	/**
55
+	 * @param DIProperty $property
56
+	 */
54 57
 	private function addTypeFromImportVocabulary( $property, $dataItem ) {
55 58
 
56 59
 		$importValue = DataValueFactory::getInstance()->newDataItemValue(
@@ -80,6 +83,9 @@  discard block
 block discarded – undo
80 83
 		$this->replaceAnyTypeByImportType( $property, $dataValue );
81 84
 	}
82 85
 
86
+	/**
87
+	 * @param \SMWDataValue $dataValue
88
+	 */
83 89
 	private function replaceAnyTypeByImportType( DIProperty $property, $dataValue ) {
84 90
 
85 91
 		foreach ( $this->getSemanticData()->getPropertyValues( $property ) as $dataItem ) {
Please login to merge, or discard this patch.
src/PropertyHierarchyLookup.php 1 patch
Doc Comments   +8 added lines patch added patch discarded remove patch
@@ -122,6 +122,10 @@  discard block
 block discarded – undo
122 122
 		return $this->findMatchesFor( '_SUBC', $category->getDBKey(), $category );
123 123
 	}
124 124
 
125
+	/**
126
+	 * @param string $id
127
+	 * @param string $key
128
+	 */
125 129
 	private function hasMatchFor( $id, $key, DIWikiPage $subject ) {
126 130
 
127 131
 		$key = 'm#' . $id . '#' . $key;
@@ -147,6 +151,10 @@  discard block
 block discarded – undo
147 151
 		return $result !== array();
148 152
 	}
149 153
 
154
+	/**
155
+	 * @param string $id
156
+	 * @param string $key
157
+	 */
150 158
 	private function findMatchesFor( $id, $key, DIWikiPage $subject ) {
151 159
 
152 160
 		$key = 'f#' . $id . '#' . $key;
Please login to merge, or discard this patch.
src/PropertySpecificationChangeNotifier.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -54,7 +54,6 @@
 block discarded – undo
54 54
 	 *
55 55
 	 * @since 2.2
56 56
 	 *
57
-	 * @param array $declarationProperties
58 57
 	 */
59 58
 	public function setPropertiesToCompare( array $propertiesToCompare ) {
60 59
 		$this->propertiesToCompare = $propertiesToCompare;
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/Query/PrintRequest.php 1 patch
Doc Comments   +5 added lines, -3 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
 	 * @param integer $mode a constant defining what to printout
46 46
 	 * @param string $label the string label to describe this printout
47 47
 	 * @param mixed $data optional data for specifying some request, might be a property object, title, or something else; interpretation depends on $mode
48
-	 * @param mixed $outputformat optional string for specifying an output format, e.g. an output unit
48
+	 * @param string $outputformat optional string for specifying an output format, e.g. an output unit
49 49
 	 * @param array|null $params optional array of further, named parameters for the print request
50 50
 	 */
51 51
 	public function __construct( $mode, $label, $data = null, $outputformat = false, array $params = null ) {
@@ -129,6 +129,8 @@  discard block
 block discarded – undo
129 129
 
130 130
 	/**
131 131
 	 * Convenience method for accessing the text in either HTML or Wiki format.
132
+	 * @param integer $outputmode
133
+	 * @return string
132 134
 	 */
133 135
 	public function getText( $outputmode, $linker = null ) {
134 136
 		switch ( $outputmode ) {
@@ -266,7 +268,7 @@  discard block
 block discarded – undo
266 268
 	/**
267 269
 	 * Returns the value of a named parameter.
268 270
 	 *
269
-	 * @param $key string the name of the parameter key
271
+	 * @param string $key string the name of the parameter key
270 272
 	 *
271 273
 	 * @return string Value of the paramer, if set (else FALSE)
272 274
 	 */
@@ -286,7 +288,7 @@  discard block
 block discarded – undo
286 288
 	/**
287 289
 	 * Sets a print request parameter.
288 290
 	 *
289
-	 * @param $key string Name of the parameter
291
+	 * @param string $key string Name of the parameter
290 292
 	 * @param $value string Value for the parameter
291 293
 	 */
292 294
 	public function setParameter( $key, $value ) {
Please login to merge, or discard this patch.
src/Query/ProfileAnnotator/NullProfileAnnotator.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
 	 *
49 49
 	 * @since 1.9
50 50
 	 *
51
-	 * @return array
51
+	 * @return DIProperty
52 52
 	 */
53 53
 	public function getProperty() {
54 54
 		return new DIProperty( '_ASK' );
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
 	 *
60 60
 	 * @since 1.9
61 61
 	 *
62
-	 * @return SemanticData
62
+	 * @return \SMWDIContainer
63 63
 	 */
64 64
 	public function getContainer() {
65 65
 		return $this->subobject->getContainer();
@@ -70,7 +70,7 @@  discard block
 block discarded – undo
70 70
 	 *
71 71
 	 * @since 1.9
72 72
 	 *
73
-	 * @return SemanticData
73
+	 * @return \SMWContainerSemanticData
74 74
 	 */
75 75
 	public function getSemanticData() {
76 76
 		return $this->subobject->getSemanticData();
Please login to merge, or discard this patch.