Completed
Push — master ( fe9ad7...a0cd59 )
by Jeroen De
10s
created
src/Lister/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.
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/Lister/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.
tests/System/SubPageList/SubPageCountingTest.php 1 patch
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -19,6 +19,9 @@  discard block
 block discarded – undo
19 19
 	 */
20 20
 	private static $titles = [];
21 21
 
22
+	/**
23
+	 * @param string $titleText
24
+	 */
22 25
 	public static function createPage( $titleText ) {
23 26
 		$title = Title::newFromText( $titleText );
24 27
 		self::$titles[] = $title;
@@ -78,6 +81,10 @@  discard block
 block discarded – undo
78 81
 		);
79 82
 	}
80 83
 
84
+	/**
85
+	 * @param string $pageName
86
+	 * @param integer $expectedCount
87
+	 */
81 88
 	private function assertSubPageCountFor( $pageName, $expectedCount ) {
82 89
 		$this->assertEquals(
83 90
 			$expectedCount,
Please login to merge, or discard this patch.
tests/System/SubPageList/SubPageListRendererTest.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -62,6 +62,9 @@  discard block
 block discarded – undo
62 62
 		}
63 63
 	}
64 64
 
65
+	/**
66
+	 * @param string $listText
67
+	 */
65 68
 	private function assertCreatesList( array $params, $listText ) {
66 69
 		$this->assertEquals(
67 70
 			$listText,
@@ -69,6 +72,9 @@  discard block
 block discarded – undo
69 72
 		);
70 73
 	}
71 74
 
75
+	/**
76
+	 * @param string $listText
77
+	 */
72 78
 	private function assertCreatesListWithWrap( array $params, $listText ) {
73 79
 		$this->assertCreatesList(
74 80
 			$params,
Please login to merge, or discard this patch.
tests/Unit/SubPageList/Counter/SubPageCountTest.php 1 patch
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -28,6 +28,10 @@  discard block
 block discarded – undo
28 28
 		$this->assertEquals( (string)$numberOfSubPages . '.0', $countResult );
29 29
 	}
30 30
 
31
+	/**
32
+	 * @param string $titleText
33
+	 * @param integer $numberOfSubPages
34
+	 */
31 35
 	private function newSubPageCount( $titleText, $numberOfSubPages ) {
32 36
 		$titleFactory = new TitleFactory();
33 37
 
@@ -41,6 +45,9 @@  discard block
 block discarded – undo
41 45
 		return new SubPageCount( $counter, $titleFactory );
42 46
 	}
43 47
 
48
+	/**
49
+	 * @param string $titleText
50
+	 */
44 51
 	private function getCountResult( SubPageCount $subPageCount, $titleText ) {
45 52
 		$language = $this->getMock( 'Language' );
46 53
 
Please login to merge, or discard this patch.
tests/Unit/SubPageList/Lister/SubPageListTest.php 1 patch
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -30,6 +30,10 @@  discard block
 block discarded – undo
30 30
 		$this->assertEquals( $renderResult, $renderedList );
31 31
 	}
32 32
 
33
+	/**
34
+	 * @param string $titleText
35
+	 * @param string $renderResult
36
+	 */
33 37
 	private function newSubPageList( $titleText, $renderResult ) {
34 38
 		$title = \Title::newFromText( $titleText );
35 39
 		$page = new Page( $title );
@@ -64,6 +68,9 @@  discard block
 block discarded – undo
64 68
 		);
65 69
 	}
66 70
 
71
+	/**
72
+	 * @param string $titleText
73
+	 */
67 74
 	private function getRenderedList( SubPageList $subPageList, $titleText ) {
68 75
 		$parser = $this->getMock( 'Parser' );
69 76
 
Please login to merge, or discard this patch.