@@ -96,6 +96,9 @@ |
||
| 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 | |
@@ -45,6 +45,9 @@ |
||
| 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, |
@@ -56,6 +56,9 @@ discard block |
||
| 56 | 56 | ] ); |
| 57 | 57 | } |
| 58 | 58 | |
| 59 | + /** |
|
| 60 | + * @param string $pageName |
|
| 61 | + */ |
|
| 59 | 62 | public function newMockTitle( $pageName ) { |
| 60 | 63 | $title = $this->createMock( 'Title' ); |
| 61 | 64 | |
@@ -83,6 +86,9 @@ discard block |
||
| 83 | 86 | $this->assertEquals( [], $page->getSubPages() ); |
| 84 | 87 | } |
| 85 | 88 | |
| 89 | + /** |
|
| 90 | + * @param integer $expectedCount |
|
| 91 | + */ |
|
| 86 | 92 | private function assertPageCount( $expectedCount, $hierarchy ) { |
| 87 | 93 | $this->assertInternalType( 'array', $hierarchy ); |
| 88 | 94 | $this->assertCount( $expectedCount, $hierarchy ); |