Completed
Push — issue-206 ( a180b4 )
by
unknown
02:05
created
formats/math/SRF_Math.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -38,6 +38,7 @@
 block discarded – undo
38 38
 
39 39
 	/**
40 40
 	 * @see SMWResultPrinter::getResultText()
41
+	 * @param integer $outputmode
41 42
 	 */
42 43
 	protected function getResultText( SMWQueryResult $res, $outputmode ) {
43 44
 		$numbers = $this->getNumbers( $res );
Please login to merge, or discard this patch.
formats/media/MediaPlayer.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,6 @@
 block discarded – undo
8 8
 use SMWDataValue;
9 9
 use SMWOutputs;
10 10
 use SRFUtils;
11
-
12 11
 use FormatJson;
13 12
 use Skin;
14 13
 use Html;
Please login to merge, or discard this patch.
formats/outline/SRF_Outline.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -47,6 +47,9 @@  discard block
 block discarded – undo
47 47
 		$this->mUnsortedItems = $items;
48 48
 	}
49 49
 
50
+	/**
51
+	 * @param SRFOutlineItem $item
52
+	 */
50 53
 	function addItem( $item ) {
51 54
 		$this->mUnsortedItems[] = $item;
52 55
 	}
@@ -135,6 +138,9 @@  discard block
 block discarded – undo
135 138
 		return $result;
136 139
 	}
137 140
 
141
+	/**
142
+	 * @param SRFOutlineTree $outline_tree
143
+	 */
138 144
 	function printTree( $outline_tree, $level = 0 ) {
139 145
 		$text = "";
140 146
 		if ( ! is_null( $outline_tree->mUnsortedItems ) ) {
Please login to merge, or discard this patch.
formats/widget/SRF_ListWidget.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,6 @@
 block discarded – undo
28 28
 	 * @see SMWResultPrinter::getResultText
29 29
 	 *
30 30
 	 * @param SMWQueryResult $res
31
-	 * @param array $params
32 31
 	 * @param $outputmode
33 32
 	 *
34 33
 	 * @return string
Please login to merge, or discard this patch.
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/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 = array();
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/Filtered/views/SRF_FV_Table.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -136,6 +136,10 @@
 block discarded – undo
136 136
 		);
137 137
 	}
138 138
 
139
+	/**
140
+	 * @param integer $outputmode
141
+	 * @param string[] $columnClasses
142
+	 */
139 143
 	private function getTableRows( $queryResults, $outputmode, $columnClasses) {
140 144
 		$tableRows = array();
141 145
 		
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 array(
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.