Completed
Push — 2.5.x ( a2f92d...f77612 )
by Stephan
01:51
created
SemanticResultFormats.hooks.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -143,7 +143,7 @@  discard block
 block discarded – undo
143 143
 	 *
144 144
 	 * @param &$vars Array of variables to be added into the output of the startup module.
145 145
 	 *
146
-	 * @return true
146
+	 * @return boolean
147 147
 	 */
148 148
 	public static function onResourceLoaderGetConfigVars( &$vars ) {
149 149
 
@@ -165,7 +165,7 @@  discard block
 block discarded – undo
165 165
 	 * @param User $user
166 166
 	 * @param array $preferences
167 167
 	 *
168
-	 * @return true
168
+	 * @return boolean
169 169
 	 */
170 170
 	public static function onGetPreferences( $user, &$preferences ) {
171 171
 
Please login to merge, or discard this patch.
formats/vcard/SRF_vCard.php 1 patch
Doc Comments   +11 added lines patch added patch discarded remove patch
@@ -385,6 +385,14 @@  discard block
 block discarded – undo
385 385
 
386 386
 	/**
387 387
 	 * Constructor for a single item in the vcard. Requires the URI of the item.
388
+	 * @param string $prefix
389
+	 * @param string $additionalname
390
+	 * @param string $suffix
391
+	 * @param string $jobtitle
392
+	 * @param string $role
393
+	 * @param string $department
394
+	 * @param string $category
395
+	 * @param string $note
388 396
 	 */
389 397
 	public function __construct( Title $t, $prefix, $firstname, $lastname, $additionalname, $suffix, $fullname, $tels, $addresses, $emails, $birthday, $jobtitle, $role, $organization, $department, $category, $url, $note ) {
390 398
 		$this->uri = $t->getFullURL();
@@ -494,6 +502,7 @@  discard block
 block discarded – undo
494 502
 
495 503
 	/**
496 504
 	 * Constructor for a single address item in the vcard item.
505
+	 * @param string $type
497 506
 	 */
498 507
 	public function __construct( $type, $postofficebox, $extendedaddress, $street, $locality, $region, $postalcode, $country ) {
499 508
 		$this->type = $type;
@@ -526,6 +535,7 @@  discard block
 block discarded – undo
526 535
 
527 536
 	/**
528 537
 	 * Constructor for a single telephone item in the vcard item.
538
+	 * @param string $type
529 539
 	 */
530 540
 	public function __construct( $type, $telnumber ) {
531 541
 		$this->type = $type;  // may be a vCard value list using ",", no escaping
@@ -552,6 +562,7 @@  discard block
 block discarded – undo
552 562
 
553 563
 	/**
554 564
 	 * Constructor for a email telephone item in the vcard item.
565
+	 * @param string $type
555 566
 	 */
556 567
 	public function __construct( $type, $emailaddress ) {
557 568
 		$this->type = $type;
Please login to merge, or discard this patch.
formats/array/SRF_Array.php 1 patch
Doc Comments   +16 added lines patch added patch discarded remove patch
@@ -135,6 +135,9 @@  discard block
 block discarded – undo
135 135
 		return $output;
136 136
 	}
137 137
 	
138
+	/**
139
+	 * @param string $value
140
+	 */
138 141
 	protected function fillDeliveryArray( $array = [], $value = null ) {
139 142
 		if( ! is_null( $value ) ) { //don't create any empty entries
140 143
 			$array[] = $value;
@@ -166,11 +169,21 @@  discard block
 block discarded – undo
166 169
 			/** @ToDo: System for Default values?... **/
167 170
 	}
168 171
 	//represented by an array of record fields or just a single array value:
172
+
173
+	/**
174
+	 * @param boolean $containsRecord
175
+	 * @param boolean $isPageTitle
176
+	 */
169 177
 	protected function deliverSingleManyValuesData( $value_items, $containsRecord, $isPageTitle ) {
170 178
 		if( empty( $value_items ) ) //happens when one of the higher functions delivers null
171 179
 			return null;
172 180
 		return implode( $this->mRecordSep, $value_items );
173 181
 	}
182
+
183
+	/**
184
+	 * @param boolean $isMissingProperty
185
+	 * @param boolean $isPageTitle
186
+	 */
174 187
 	protected function deliverPropertiesManyValues( $manyValue_items, $isMissingProperty, $isPageTitle, SMWResultArray $data ) {
175 188
 		if( empty( $manyValue_items ) )
176 189
 			return null;
@@ -236,6 +249,9 @@  discard block
 block discarded – undo
236 249
 		return true;
237 250
 	}
238 251
 	
252
+	/**
253
+	 * @param string $dfltCacheKey
254
+	 */
239 255
 	protected function initializeCfgValue( $dfltVal, $dfltCacheKey ) {		
240 256
 		$cache = &self::$mDefaultSeps[ $dfltCacheKey ];
241 257
 		if( ! isset( $cache ) ) {
Please login to merge, or discard this patch.
formats/bibtex/SRF_BibTeX.php 1 patch
Doc Comments   +25 added lines patch added patch discarded remove patch
@@ -222,6 +222,31 @@
 block discarded – undo
222 222
 	private $URI;
223 223
 	private $fields = [];
224 224
 
225
+	/**
226
+	 * @param string $type
227
+	 * @param string $address
228
+	 * @param string $annote
229
+	 * @param string $booktitle
230
+	 * @param string $chapter
231
+	 * @param string $crossref
232
+	 * @param string $doi
233
+	 * @param string $edition
234
+	 * @param string $eprint
235
+	 * @param string $howpublished
236
+	 * @param string $institution
237
+	 * @param string $journal
238
+	 * @param string $key
239
+	 * @param string $note
240
+	 * @param string $number
241
+	 * @param string $organization
242
+	 * @param string $pages
243
+	 * @param string $publisher
244
+	 * @param string $school
245
+	 * @param string $series
246
+	 * @param string $title
247
+	 * @param string $url
248
+	 * @param string $volume
249
+	 */
225 250
 	public function __construct( $type, $address, $annote, $author, $booktitle, $chapter, $crossref, $doi, $edition, $editor, $eprint, $howpublished, $institution, $journal, $key, $month, $note, $number, $organization, $pages, $publisher, $school, $series, $title, $url, $volume, $year ) {
226 251
 		if ( $type ) $this->bibTeXtype = ucfirst( $type ); else $this->bibTeXtype = 'Book';
227 252
 
Please login to merge, or discard this patch.
formats/calendar/SRF_Calendar.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -77,6 +77,7 @@
 block discarded – undo
77 77
 	 * @see SMWResultPrinter::getResultText()
78 78
 	 *
79 79
 	 * @todo Split up megamoth
80
+	 * @param integer $outputmode
80 81
 	 */
81 82
 	protected function getResultText( SMWQueryResult $res, $outputmode ) {
82 83
 		$events = [];
Please login to merge, or discard this patch.
formats/slideshow/SRF_SlideShowApi.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -87,7 +87,7 @@
 block discarded – undo
87 87
 
88 88
 	/**
89 89
 	 * Returns the description string for this module
90
-	 * @return mixed string or array of strings
90
+	 * @return string[] string or array of strings
91 91
 	 */
92 92
 	protected function getDescription() {
93 93
 		return [
Please login to merge, or discard this patch.
formats/gallery/Gallery.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -3,13 +3,11 @@
 block discarded – undo
3 3
 namespace SRF;
4 4
 
5 5
 use SMW\ResultPrinter;
6
-
7 6
 use SMWQueryResult;
8 7
 use SMWPrintRequest;
9 8
 use SMWDataItem;
10 9
 use SMWOutputs;
11 10
 use SRFUtils;
12
-
13 11
 use Html;
14 12
 use Title;
15 13
 
Please login to merge, or discard this patch.
formats/tree/TreeNodeVisitor.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -164,6 +164,7 @@
 block discarded – undo
164 164
 
165 165
 	/**
166 166
 	 * @param \SMWResultArray $cell
167
+	 * @param integer $columnNumber
167 168
 	 * @return string
168 169
 	 */
169 170
 	protected function getLabelForCell( $cell, $columnNumber ) {
Please login to merge, or discard this patch.
formats/tree/TreeNode.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@
 block discarded – undo
47 47
 
48 48
 	/**
49 49
 	 * @param NodeInterface $child
50
-	 * @return NodeTrait
50
+	 * @return TreeNode
51 51
 	 * @throws Exception
52 52
 	 */
53 53
 	public function addChild( NodeInterface $child ) {
Please login to merge, or discard this patch.