Completed
Push — master ( 07dd29...2a8480 )
by mw
409:44 queued 374:41
created
src/DataValues/ValueParsers/AllowsPatternValueParser.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -62,6 +62,9 @@
 block discarded – undo
62 62
 		return $contentList[$userValue];
63 63
 	}
64 64
 
65
+	/**
66
+	 * @param string $contents
67
+	 */
65 68
 	private function doParseContent( $contents ) {
66 69
 
67 70
 		$list = array();
Please login to merge, or discard this patch.
src/DataValues/ImportValue.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -121,7 +121,7 @@  discard block
 block discarded – undo
121 121
 	/**
122 122
 	 * @see SMWDataValue::loadDataItem
123 123
 	 *
124
-	 * @param DataItem $dataitem
124
+	 * @param DataItem $dataItem
125 125
 	 *
126 126
 	 * @return boolean
127 127
 	 */
@@ -224,6 +224,9 @@  discard block
 block discarded – undo
224 224
 		return $this->namespace . ':' . $this->term . '|' . $this->uri;
225 225
 	}
226 226
 
227
+	/**
228
+	 * @param string $qname
229
+	 */
227 230
 	private function createCaption( $namespace, $qname, $uri, $declarativeName ) {
228 231
 		return "[[MediaWiki:" . self::IMPORT_PREFIX . $namespace . "|" . $qname . "]] " .  Message::get( array( 'parentheses', "[$uri $namespace] | " . $declarativeName ), Message::PARSE );
229 232
 	}
Please login to merge, or discard this patch.
src/DataValues/InfoLinksProvider.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 2.4
83 83
 	 *
84
-	 * @param Infolink $link
85 84
 	 */
86 85
 	public function addInfolink( Infolink $infoLink ) {
87 86
 		$this->infoLinks[] = $infoLink;
Please login to merge, or discard this patch.
src/Importer/ImportContents.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -111,7 +111,7 @@  discard block
 block discarded – undo
111 111
 	/**
112 112
 	 * @since 2.5
113 113
 	 *
114
-	 * @return string
114
+	 * @return integer
115 115
 	 */
116 116
 	public function getNamespace() {
117 117
 		return $this->namespace;
@@ -147,7 +147,7 @@  discard block
 block discarded – undo
147 147
 	/**
148 148
 	 * @since 2.5
149 149
 	 *
150
-	 * @return array
150
+	 * @return string
151 151
 	 */
152 152
 	public function getErrors() {
153 153
 		return $this->errors;
Please login to merge, or discard this patch.
includes/storage/SQLStore/SMW_Sql3SmwIds.php 1 patch
Doc Comments   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -733,7 +733,7 @@  discard block
 block discarded – undo
733 733
 	 *
734 734
 	 * @param integer $sid
735 735
 	 * @param DIWikiPage $subject
736
-	 * @param integer|string|null $interWiki
736
+	 * @param string $interWiki
737 737
 	 */
738 738
 	public function updateInterwikiField( $sid, DIWikiPage $subject, $interWiki = null ) {
739 739
 
@@ -989,10 +989,9 @@  discard block
 block discarded – undo
989 989
 	/**
990 990
 	 * @since 2.3
991 991
 	 *
992
-	 * @param integer $id
993 992
 	 * @param RequestOptions|null $requestOptions
994 993
 	 *
995
-	 * @return string[]
994
+	 * @return SMW\Iterators\MappingIterator
996 995
 	 */
997 996
 	public function getDataItemPoolHashListFor( array $idlist, RequestOptions $requestOptions = null ) {
998 997
 		return $this->idToDataItemMatchFinder->getDataItemsFromList( $idlist, $requestOptions );
Please login to merge, or discard this patch.
src/MediaWiki/Specials/SearchByProperty/QueryResultLookup.php 2 patches
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
 	/**
41 41
 	 * @since 2.5
42 42
 	 *
43
-	 * @param QueryOptions $pageRequestOptions
43
+	 * @param PageRequestOptions $pageRequestOptions
44 44
 	 *
45 45
 	 * @return array
46 46
 	 */
@@ -79,7 +79,7 @@  discard block
 block discarded – undo
79 79
 	/**
80 80
 	 * @since 2.1
81 81
 	 *
82
-	 * @param  QueryOptions $pageRequestOptions
82
+	 * @param  PageRequestOptions $pageRequestOptions
83 83
 	 *
84 84
 	 * @return array of array(SMWWikiPageValue, SMWDataValue) with the
85 85
 	 * first being the entity, and the second the value
@@ -116,7 +116,7 @@  discard block
 block discarded – undo
116 116
 	 * on the property, ordered, and sorted by ending with the smallest
117 117
 	 * one.
118 118
 	 *
119
-	 * @param QueryOptions $pageRequestOptions
119
+	 * @param PageRequestOptions $pageRequestOptions
120 120
 	 * @param integer $count How many entities have the exact same value on the property?
121 121
 	 * @param integer $greater Should the values be bigger? Set false for smaller values.
122 122
 	 *
Please login to merge, or discard this patch.
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -3,9 +3,6 @@
 block discarded – undo
3 3
 namespace SMW\MediaWiki\Specials\SearchByProperty;
4 4
 
5 5
 use SMW\DataValueFactory;
6
-use SMW\Query\Language\SomeProperty;
7
-use SMW\Query\Language\ThingDescription;
8
-use SMW\Query\Language\ValueDescription;
9 6
 use SMW\Query\PrintRequest as PrintRequest;
10 7
 use SMW\Store;
11 8
 use SMW\DIWikiPage;
Please login to merge, or discard this patch.
src/SQLStore/IdToDataItemMatchFinder.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -78,7 +78,7 @@  discard block
 block discarded – undo
78 78
 	 * @param array $idList
79 79
 	 * @param RequestOptions|null $requestOptions
80 80
 	 *
81
-	 * @return DIWikiPage[]
81
+	 * @return \SMW\Iterators\MappingIterator
82 82
 	 */
83 83
 	public function getDataItemsFromList( array $idList, RequestOptions $requestOptions = null ) {
84 84
 
@@ -142,6 +142,9 @@  discard block
 block discarded – undo
142 142
 		return $wikiPage;
143 143
 	}
144 144
 
145
+	/**
146
+	 * @param integer $id
147
+	 */
145 148
 	private function canMatchById( $id ) {
146 149
 
147 150
 		$row = $this->connection->selectRow(
Please login to merge, or discard this patch.
src/SQLStore/QueryDependency/QueryReferenceBacklinks.php 1 patch
Doc Comments   -2 removed lines patch added patch discarded remove patch
@@ -68,8 +68,6 @@
 block discarded – undo
68 68
 	 * @since 2.5
69 69
 	 *
70 70
 	 * @param DIWikiPage $subject
71
-	 * @param integer $limit
72
-	 * @param integer $offset
73 71
 	 *
74 72
 	 * @return array
75 73
 	 */
Please login to merge, or discard this patch.
src/MediaWiki/Hooks/ParserAfterTidy.php 1 patch
Doc Comments   +8 added lines, -1 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
 	 *
55 55
 	 * @param string $text
56 56
 	 *
57
-	 * @return true
57
+	 * @return boolean
58 58
 	 */
59 59
 	public function process( &$text ) {
60 60
 
@@ -85,6 +85,9 @@  discard block
 block discarded – undo
85 85
 		return false;
86 86
 	}
87 87
 
88
+	/**
89
+	 * @param string $text
90
+	 */
88 91
 	private function performUpdate( &$text ) {
89 92
 
90 93
 		$applicationFactory = ApplicationFactory::getInstance();
@@ -104,6 +107,9 @@  discard block
 block discarded – undo
104 107
 		$this->checkOnPurgeRequest( $parserData );
105 108
 	}
106 109
 
110
+	/**
111
+	 * @param SemanticData $semanticData
112
+	 */
107 113
 	private function updateAnnotationsOnAfterParse( $propertyAnnotatorFactory, $semanticData ) {
108 114
 
109 115
 		$propertyAnnotator = $propertyAnnotatorFactory->newNullPropertyAnnotator(
@@ -151,6 +157,7 @@  discard block
 block discarded – undo
151 157
 	 * @note The purge action is isolated from any other request therefore using
152 158
 	 * a static variable or any other messaging that is not persistent will not
153 159
 	 * work hence the reliance on the cache as temporary persistence marker
160
+	 * @param \SMW\ParserData $parserData
154 161
 	 */
155 162
 	private function checkOnPurgeRequest( $parserData ) {
156 163
 
Please login to merge, or discard this patch.