Completed
Pull Request — master (#22)
by mw
03:56
created
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 = array(
@@ -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 === array() ) {
Please login to merge, or discard this patch.
src/DataValues/ResourceIdentifierStringValue.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -100,10 +100,16 @@
 block discarded – undo
100 100
 		);
101 101
 	}
102 102
 
103
+	/**
104
+	 * @param string $linked
105
+	 */
103 106
 	public function getLongWikiText( $linked = null ) {
104 107
 		return $this->getShortWikiText( $linked );
105 108
 	}
106 109
 
110
+	/**
111
+	 * @param string $linker
112
+	 */
107 113
 	public function getLongHTMLText( $linker = null ) {
108 114
 		return $this->getShortHTMLText( $linker );
109 115
 	}
Please login to merge, or discard this patch.
src/HookRegistry.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -96,6 +96,11 @@
 block discarded – undo
96 96
 		}
97 97
 	}
98 98
 
99
+	/**
100
+	 * @param Store $store
101
+	 * @param Cache $cache
102
+	 * @param Options $options
103
+	 */
99 104
 	private function addCallbackHandlers( $store, $cache, $options ) {
100 105
 
101 106
 		$propertyRegistry = new PropertyRegistry();
Please login to merge, or discard this patch.
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.
tests/phpunit/Integration/Parser/ByJsonParserTestCaseRunnerTest.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/CitationMeta.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -109,6 +109,11 @@
 block discarded – undo
109 109
 		return $containerSemanticData;
110 110
 	}
111 111
 
112
+	/**
113
+	 * @param ContainerSemanticData $containerSemanticData
114
+	 * @param DIWikiPage $subject
115
+	 * @param integer $count
116
+	 */
112 117
 	private function addFrequencyRecord( $containerSemanticData, $subject, $citationKey, $count ) {
113 118
 
114 119
 		$dataValue = DataValueFactory::getInstance()->newPropertyObjectValue(
Please login to merge, or discard this patch.