@@ -76,6 +76,9 @@ |
||
| 76 | 76 | return $dom->saveXML(); |
| 77 | 77 | } |
| 78 | 78 | |
| 79 | + /** |
|
| 80 | + * @param string $name |
|
| 81 | + */ |
|
| 79 | 82 | private static function createTextNode(DOMDocument $dom, $name, $string) |
| 80 | 83 | { |
| 81 | 84 | $node = $dom->createElement($name); |
@@ -11,10 +11,10 @@ |
||
| 11 | 11 | class PhpCode extends Extractor implements ExtractorInterface |
| 12 | 12 | { |
| 13 | 13 | public static $options = [ |
| 14 | - // - false: to not extract comments |
|
| 15 | - // - empty string: to extract all comments |
|
| 16 | - // - non-empty string: to extract comments that start with that string |
|
| 17 | - // - array with strings to extract comments format. |
|
| 14 | + // - false: to not extract comments |
|
| 15 | + // - empty string: to extract all comments |
|
| 16 | + // - non-empty string: to extract comments that start with that string |
|
| 17 | + // - array with strings to extract comments format. |
|
| 18 | 18 | 'extractComments' => false, |
| 19 | 19 | |
| 20 | 20 | 'constants' => [], |