Completed
Push — master ( 0e466a...c81f6c )
by mw
06:27
created
formats/outline/SRF_Outline.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -53,6 +53,9 @@  discard block
 block discarded – undo
53 53
 		$this->mUnsortedItems = $items;
54 54
 	}
55 55
 
56
+	/**
57
+	 * @param SRFOutlineItem $item
58
+	 */
56 59
 	function addItem( $item ) {
57 60
 		$this->mUnsortedItems[] = $item;
58 61
 		$this->itemCount++;
@@ -142,6 +145,9 @@  discard block
 block discarded – undo
142 145
 		return $result;
143 146
 	}
144 147
 
148
+	/**
149
+	 * @param SRFOutlineTree $outline_tree
150
+	 */
145 151
 	function printTree( $outline_tree, $level = 0 ) {
146 152
 		$text = "";
147 153
 		if ( !is_null( $outline_tree->mUnsortedItems ) ) {
Please login to merge, or discard this patch.
src/Outline/TemplateBuilder.php 1 patch
Doc Comments   +7 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
 	/**
47 47
 	 * @since 3.1
48 48
 	 *
49
-	 * @param OutlineTree $tree
49
+	 * @param \SRFOutlineTree $tree
50 50
 	 *
51 51
 	 * @return string
52 52
 	 */
@@ -115,6 +115,9 @@  discard block
 block discarded – undo
115 115
 		return "<div class='" . $this->params['template'] . "-item'>" . $template . '</div>';
116 116
 	}
117 117
 
118
+	/**
119
+	 * @param Linker|null $linker
120
+	 */
118 121
 	private function itemText( $dv, $linker, $printRequest, &$first_col ) {
119 122
 
120 123
 		if ( $first_col && $printRequest->isMode( PrintRequest::PRINT_THIS ) ) {
@@ -140,6 +143,9 @@  discard block
 block discarded – undo
140 143
 		return $this->parameter( $printRequest->getLabel(), $text );
141 144
 	}
142 145
 
146
+	/**
147
+	 * @param string $v
148
+	 */
143 149
 	private function open( $v ) {
144 150
 		return "{{" . $v;
145 151
 	}
Please login to merge, or discard this patch.