Completed
Push — nextrel ( c9baf3 )
by
unknown
02:14
created
src/SubPageList/Extension.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace SubPageList;
4 4
 
5 5
 use Parser;
6
-use ParserHooks\FunctionRunner;
7 6
 use ParserHooks\HookDefinition;
8 7
 use ParserHooks\HookHandler;
9 8
 use ParserHooks\HookRegistrant;
Please login to merge, or discard this patch.
src/SubPageList/UI/TreeListRenderer.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -96,6 +96,9 @@
 block discarded – undo
96 96
 		return $this->getIndentedLine( $lineContent, $indentationLevel );
97 97
 	}
98 98
 
99
+	/**
100
+	 * @param string $lineContent
101
+	 */
99 102
 	private function getIndentedLine( $lineContent, $indentationLevel ) {
100 103
 		$totalIndentLevel = $indentationLevel + $this->options[self::OPT_ADDLEVEL];
101 104
 
Please login to merge, or discard this patch.
src/SubPageList/UI/WikitextSubPageListRenderer.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -90,6 +90,9 @@  discard block
 block discarded – undo
90 90
 		return $renderer;
91 91
 	}
92 92
 
93
+	/**
94
+	 * @return string
95
+	 */
93 96
 	protected function getPathStyle() {
94 97
 		$styles = array(
95 98
 			'none' => PlainPageRenderer::PATH_NONE,
@@ -112,6 +115,9 @@  discard block
 block discarded – undo
112 115
 		return new AlphabeticPageSorter( $this->options['sort'] );
113 116
 	}
114 117
 
118
+	/**
119
+	 * @param string $text
120
+	 */
115 121
 	protected function wrapInElement( $text ) {
116 122
 		$this->assertElementIsAllowed();
117 123
 
Please login to merge, or discard this patch.
Tests/Component/WikitextSubPageListRendererTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -45,6 +45,9 @@
 block discarded – undo
45 45
 		);
46 46
 	}
47 47
 
48
+	/**
49
+	 * @param string $listText
50
+	 */
48 51
 	private function assertCreatesList( array $params, $listText ) {
49 52
 		$this->assertEquals(
50 53
 			$listText,
Please login to merge, or discard this patch.
Tests/Unit/SubPageList/PageHierarchyCreatorTest.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -55,6 +55,9 @@  discard block
 block discarded – undo
55 55
 		) );
56 56
 	}
57 57
 
58
+	/**
59
+	 * @param string $pageName
60
+	 */
58 61
 	public function newMockTitle( $pageName ) {
59 62
 		$title = $this->getMock( 'Title' );
60 63
 
@@ -82,6 +85,9 @@  discard block
 block discarded – undo
82 85
 		$this->assertEquals( array(), $page->getSubPages() );
83 86
 	}
84 87
 
88
+	/**
89
+	 * @param integer $expectedCount
90
+	 */
85 91
 	private function assertPageCount( $expectedCount, $hierarchy ) {
86 92
 		$this->assertInternalType( 'array', $hierarchy );
87 93
 		$this->assertCount( $expectedCount, $hierarchy );
Please login to merge, or discard this patch.