@@ -119,6 +119,9 @@ discard block |
||
119 | 119 | ; |
120 | 120 | } |
121 | 121 | |
122 | + /** |
|
123 | + * @param string $source |
|
124 | + */ |
|
122 | 125 | protected function benchmark($source, Language $language, FormatterInterface $formatter, $geshi = null) |
123 | 126 | { |
124 | 127 | gc_collect_cycles(); // force garbage collector |
@@ -170,6 +173,9 @@ discard block |
||
170 | 173 | ]; |
171 | 174 | } |
172 | 175 | |
176 | + /** |
|
177 | + * @param string $source |
|
178 | + */ |
|
173 | 179 | protected function geshi($source, $language) |
174 | 180 | { |
175 | 181 | // Silence GeSHi notices |
@@ -98,6 +98,9 @@ |
||
98 | 98 | || $input->hasParameterOption('-r'); |
99 | 99 | } |
100 | 100 | |
101 | + /** |
|
102 | + * @param string $filename |
|
103 | + */ |
|
101 | 104 | private function regenerate(InputInterface $input, $filename) |
102 | 105 | { |
103 | 106 | $filename = str_replace(DIRECTORY_SEPARATOR, '/', $filename); |
@@ -43,6 +43,9 @@ discard block |
||
43 | 43 | return $result . ($this->_options['lines']['enable'] ? $this->formatLineEnd($this->_line++) : ''); |
44 | 44 | } |
45 | 45 | |
46 | + /** |
|
47 | + * @param string $text |
|
48 | + */ |
|
46 | 49 | private function _content($text) |
47 | 50 | { |
48 | 51 | $content = $this->content($text); |
@@ -57,11 +60,17 @@ discard block |
||
57 | 60 | return $text; |
58 | 61 | } |
59 | 62 | |
63 | + /** |
|
64 | + * @param integer $line |
|
65 | + */ |
|
60 | 66 | protected function formatLineStart($line) |
61 | 67 | { |
62 | 68 | return null; |
63 | 69 | } |
64 | 70 | |
71 | + /** |
|
72 | + * @param integer $line |
|
73 | + */ |
|
65 | 74 | protected function formatLineEnd($line) |
66 | 75 | { |
67 | 76 | return null; |