Completed
Push — master ( ac15b4...98e0ae )
by Jeroen De
38:18 queued 18:19
created
formats/array/SRF_Array.php 1 patch
Doc Comments   +15 added lines patch added patch discarded remove patch
@@ -153,6 +153,9 @@  discard block
 block discarded – undo
153 153
 		return $output;
154 154
 	}
155 155
 
156
+	/**
157
+	 * @param string $value
158
+	 */
156 159
 	protected function fillDeliveryArray( $array = [], $value = null ) {
157 160
 		if ( !is_null( $value ) ) { //don't create any empty entries
158 161
 			$array[] = $value;
@@ -194,6 +197,11 @@  discard block
 block discarded – undo
194 197
 	}
195 198
 
196 199
 	//represented by an array of record fields or just a single array value:
200
+
201
+	/**
202
+	 * @param boolean $containsRecord
203
+	 * @param boolean $isPageTitle
204
+	 */
197 205
 	protected function deliverSingleManyValuesData( $value_items, $containsRecord, $isPageTitle ) {
198 206
 		if ( empty( $value_items ) ) //happens when one of the higher functions delivers null
199 207
 		{
@@ -202,6 +210,10 @@  discard block
 block discarded – undo
202 210
 		return implode( $this->mRecordSep, $value_items );
203 211
 	}
204 212
 
213
+	/**
214
+	 * @param boolean $isMissingProperty
215
+	 * @param boolean $isPageTitle
216
+	 */
205 217
 	protected function deliverPropertiesManyValues( $manyValue_items, $isMissingProperty, $isPageTitle, SMWResultArray $data ) {
206 218
 		if ( empty( $manyValue_items ) ) {
207 219
 			return null;
@@ -272,6 +284,9 @@  discard block
 block discarded – undo
272 284
 		return true;
273 285
 	}
274 286
 
287
+	/**
288
+	 * @param string $dfltCacheKey
289
+	 */
275 290
 	protected function initializeCfgValue( $dfltVal, $dfltCacheKey ) {
276 291
 		$cache = &self::$mDefaultSeps[$dfltCacheKey];
277 292
 		if ( !isset( $cache ) ) {
Please login to merge, or discard this patch.
formats/filtered/src/View/MapView.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -270,7 +270,7 @@  discard block
 block discarded – undo
270 270
 	}
271 271
 
272 272
 	/**
273
-	 * @param $prop
273
+	 * @param string $prop
274 274
 	 *
275 275
 	 * @return array
276 276
 	 */
@@ -322,7 +322,7 @@  discard block
 block discarded – undo
322 322
 	}
323 323
 
324 324
 	/**
325
-	 * @return bool
325
+	 * @return string|null
326 326
 	 */
327 327
 	public function getInitError() {
328 328
 		return $this->getMapProvider() === '' ? 'srf-filtered-map-provider-missing-error' : null;
Please login to merge, or discard this patch.
formats/graphviz/SRF_Process.php 1 patch
Doc Comments   +37 added lines, -2 removed lines patch added patch discarded remove patch
@@ -508,8 +508,8 @@  discard block
 block discarded – undo
508 508
 	 * This method should be used for getting new or existing nodes
509 509
 	 * If a node does not exist yet, it will be created
510 510
 	 *
511
-	 * @param $id            string, node id
512
-	 * @param $label        string, node label
511
+	 * @param string $id            string, node id
512
+	 * @param string $label        string, node label
513 513
 	 *
514 514
 	 * @return                Object of type ProcessNode
515 515
 	 */
@@ -548,6 +548,10 @@  discard block
 block discarded – undo
548 548
 
549 549
 	}
550 550
 
551
+	/**
552
+	 * @param string $id
553
+	 * @param string $label
554
+	 */
551 555
 	public function makeRole( $id, $label ) {
552 556
 		// check if role exists
553 557
 		if ( isset( $this->m_roles[$id] ) ) {
@@ -567,6 +571,10 @@  discard block
 block discarded – undo
567 571
 
568 572
 	}
569 573
 
574
+	/**
575
+	 * @param string $id
576
+	 * @param string $label
577
+	 */
570 578
 	public function makeRessource( $id, $label ) {
571 579
 		// check if res exists
572 580
 		if ( isset( $this->m_ressources[$id] ) ) {
@@ -652,6 +660,9 @@  discard block
 block discarded – undo
652 660
 		return $this->m_showRessources;
653 661
 	}
654 662
 
663
+	/**
664
+	 * @param string $name
665
+	 */
655 666
 	public function setGraphName( $name ) {
656 667
 		$this->m_graphName = $name;
657 668
 	}
@@ -663,18 +674,30 @@  discard block
 block discarded – undo
663 674
 		return $this->m_graphName;
664 675
 	}
665 676
 
677
+	/**
678
+	 * @param string $size
679
+	 */
666 680
 	public function setGraphSize( $size ) {
667 681
 		$this->m_graphSize = $size;
668 682
 	}
669 683
 
684
+	/**
685
+	 * @param string $rankdir
686
+	 */
670 687
 	public function setRankdir( $rankdir ) {
671 688
 		$this->m_rankdir = $rankdir;
672 689
 	}
673 690
 
691
+	/**
692
+	 * @param string $color
693
+	 */
674 694
 	public function setClusterColor( $color ) {
675 695
 		$this->m_clusterColor = $color;
676 696
 	}
677 697
 
698
+	/**
699
+	 * @param string $color
700
+	 */
678 701
 	public function setHighlightColor( $color ) {
679 702
 		$this->m_highlightColor = $color;
680 703
 	}
@@ -687,6 +710,9 @@  discard block
 block discarded – undo
687 710
 		$this->m_showRedLinks = $show;
688 711
 	}
689 712
 
713
+	/**
714
+	 * @param string $name
715
+	 */
690 716
 	public function setHighlightNode( $name ) {
691 717
 		$this->m_highlightNode = $name;
692 718
 	}
@@ -876,10 +902,16 @@  discard block
 block discarded – undo
876 902
 		return $this->m_status;
877 903
 	}
878 904
 
905
+	/**
906
+	 * @param string $color
907
+	 */
879 908
 	public function setFontColor( $color ) {
880 909
 		$this->m_fontColor = $color;
881 910
 	}
882 911
 
912
+	/**
913
+	 * @param ProcessGraph $proc
914
+	 */
883 915
 	public function setProcess( $proc ) {
884 916
 		$this->m_process = $proc;
885 917
 	}
@@ -1217,6 +1249,9 @@  discard block
 block discarded – undo
1217 1249
 		$node->addEdgeIn( $this );
1218 1250
 	}
1219 1251
 
1252
+	/**
1253
+	 * @param string $cond
1254
+	 */
1220 1255
 	public function setConditionText( $cond ) {
1221 1256
 		$this->m_con_text = $cond;
1222 1257
 	}
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
@@ -49,6 +49,9 @@  discard block
 block discarded – undo
49 49
 		$this->mUnsortedItems = $items;
50 50
 	}
51 51
 
52
+	/**
53
+	 * @param SRFOutlineItem $item
54
+	 */
52 55
 	function addItem( $item ) {
53 56
 		$this->mUnsortedItems[] = $item;
54 57
 	}
@@ -140,6 +143,9 @@  discard block
 block discarded – undo
140 143
 		return $result;
141 144
 	}
142 145
 
146
+	/**
147
+	 * @param SRFOutlineTree $outline_tree
148
+	 */
143 149
 	function printTree( $outline_tree, $level = 0 ) {
144 150
 		$text = "";
145 151
 		if ( !is_null( $outline_tree->mUnsortedItems ) ) {
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
@@ -103,7 +103,7 @@
 block discarded – undo
103 103
 	/**
104 104
 	 * Returns the description string for this module
105 105
 	 *
106
-	 * @return mixed string or array of strings
106
+	 * @return string[] string or array of strings
107 107
 	 */
108 108
 	protected function getDescription() {
109 109
 		return [
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
@@ -49,7 +49,7 @@
 block discarded – undo
49 49
 	/**
50 50
 	 * @param NodeInterface $child
51 51
 	 *
52
-	 * @return NodeTrait
52
+	 * @return TreeNode
53 53
 	 * @throws Exception
54 54
 	 */
55 55
 	public function addChild( NodeInterface $child ) {
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
@@ -168,6 +168,7 @@
 block discarded – undo
168 168
 
169 169
 	/**
170 170
 	 * @param \SMWResultArray $cell
171
+	 * @param integer $columnNumber
171 172
 	 *
172 173
 	 * @return string
173 174
 	 */
Please login to merge, or discard this patch.