Completed
Push — master ( da0ee7...3c95f8 )
by mw
20:04
created
src/SciteParserFunction.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -295,6 +295,9 @@
 block discarded – undo
295 295
 		$this->parserData->pushSemanticDataToParserOutput();
296 296
 	}
297 297
 
298
+	/**
299
+	 * @param string $messageKey
300
+	 */
298 301
 	private function createErrorMessageFor( $messageKey, $arg1 = '',  $arg2 = '' ) {
299 302
 		return \Html::rawElement(
300 303
 			'div',
Please login to merge, or discard this patch.
src/DataValues/ResourceIdentifierStringValue.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -105,6 +105,7 @@  discard block
 block discarded – undo
105 105
 
106 106
 	/**
107 107
 	 * @see StringValue::getLongWikiText
108
+	 * @param string $linked
108 109
 	 */
109 110
 	public function getLongWikiText( $linked = null ) {
110 111
 		return $this->getShortWikiText( $linked );
@@ -112,6 +113,7 @@  discard block
 block discarded – undo
112 113
 
113 114
 	/**
114 115
 	 * @see StringValue::getLongHTMLText
116
+	 * @param string $linker
115 117
 	 */
116 118
 	public function getLongHTMLText( $linker = null ) {
117 119
 		return $this->getShortHTMLText( $linker );
Please login to merge, or discard this patch.
src/CitationResourceMatchFinder.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -156,7 +156,7 @@
 block discarded – undo
156 156
 	 *
157 157
 	 * @param string $citationReference
158 158
 	 *
159
-	 * @return QueryResult
159
+	 * @return \SMWQueryResult
160 160
 	 */
161 161
 	public function findMatchForCitationReference( $citationReference ) {
162 162
 
Please login to merge, or discard this patch.
src/Bibtex/BibtexProcessor.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -89,6 +89,10 @@
 block discarded – undo
89 89
 		return $bibtex;
90 90
 	}
91 91
 
92
+	/**
93
+	 * @param string $search
94
+	 * @param string $with
95
+	 */
92 96
 	private function replace( $search, $with, &$on ) {
93 97
 		$on = strpos( $on, $search ) !== false ? str_replace( $search, $with, $on ) : $on;
94 98
 	}
Please login to merge, or discard this patch.
src/FilteredMetadata/HttpResponseParserFactory.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
 	 *
33 33
 	 * @param string $type
34 34
 	 *
35
-	 * @return ResponseParser
35
+	 * @return \Onoi\Remi\ResponseParser
36 36
 	 */
37 37
 	public function newResponseParserForType( $type ) {
38 38
 
Please login to merge, or discard this patch.
phpunit/Integration/JSONScript/SemanticCiteJsonTestCaseScriptRunnerTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -137,6 +137,9 @@
 block discarded – undo
137 137
 		}
138 138
 	}
139 139
 
140
+	/**
141
+	 * @param boolean $debug
142
+	 */
140 143
 	private function assertSemanticDataForCase( $case, $debug ) {
141 144
 
142 145
 		if ( !isset( $case['store'] ) || !isset( $case['store']['semantic-data'] ) ) {
Please login to merge, or discard this patch.
src/Bibtex/BibtexAuthorListParser.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -95,6 +95,11 @@  discard block
 block discarded – undo
95 95
 		return $authorList;
96 96
 	}
97 97
 
98
+	/**
99
+	 * @param string $firstname
100
+	 * @param string $initials
101
+	 * @param string $surname
102
+	 */
98 103
 	private function concatenate( $firstname, $initials, $surname, $prefix ) {
99 104
 
100 105
 		$author = [
@@ -109,6 +114,7 @@  discard block
 block discarded – undo
109 114
 
110 115
 	/**
111 116
 	 * @note firstname and initials which may be of form "A.B.C." or "A. B. C. " or " A B C " etc.
117
+	 * @param string $remainder
112 118
 	 */
113 119
 	private function grabFirstnameInitials( $remainder ) {
114 120
 
Please login to merge, or discard this patch.
src/CitationReferencePositionJournal.php 1 patch
Doc Comments   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,6 @@  discard block
 block discarded – undo
44 44
 	/**
45 45
 	 * @since 1.0
46 46
 	 *
47
-	 * @param DIWikiPage $subject
48 47
 	 *
49 48
 	 * @return boolean
50 49
 	 */
@@ -187,6 +186,9 @@  discard block
 block discarded – undo
187 186
 		);
188 187
 	}
189 188
 
189
+	/**
190
+	 * @param string $hash
191
+	 */
190 192
 	private function hasJournalForHash( $hash ) {
191 193
 
192 194
 		if ( self::$citationReferenceJournal === [] ) {
Please login to merge, or discard this patch.
src/Specials/CitableMetadata/PageBuilder.php 1 patch
Doc Comments   +14 added lines patch added patch discarded remove patch
@@ -134,6 +134,14 @@  discard block
 block discarded – undo
134 134
 		return $this->doRenderHtml( $type, $id, $success, $text, $log, $matches );
135 135
 	}
136 136
 
137
+	/**
138
+	 * @param string $type
139
+	 * @param string $id
140
+	 * @param boolean $success
141
+	 * @param string $text
142
+	 * @param string $log
143
+	 * @param string $matches
144
+	 */
137 145
 	private function doRenderHtml( $type, $id, $success, $text, $log, $matches ) {
138 146
 
139 147
 		$htmlFormRenderer = $this->htmlFormRenderer;
@@ -196,6 +204,9 @@  discard block
 block discarded – undo
196 204
 		return $html . $htmlFormRenderer->getForm();
197 205
 	}
198 206
 
207
+	/**
208
+	 * @param string $matches
209
+	 */
199 210
 	private function prepareLog( $messages, $matches, $usesCache ) {
200 211
 
201 212
 		$messageBuilder = $this->htmlFormRenderer->getMessageBuilder();
@@ -231,6 +242,9 @@  discard block
 block discarded – undo
231 242
 		return $this->htmlColumnListRenderer->getHtml();
232 243
 	}
233 244
 
245
+	/**
246
+	 * @param \SMW\MediaWiki\MessageBuilder $messageBuilder
247
+	 */
234 248
 	private function getTypeIdIntroText( $messageBuilder ) {
235 249
 
236 250
 		$explain = [];
Please login to merge, or discard this patch.