| Total Complexity | 3 |
| Total Lines | 23 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 9 | class MarkdownContentParser extends AbstractContentParser implements MarkdownContentParserInterface |
||
| 10 | { |
||
| 11 | protected MarkdownConvertorInterface $markdownConvertorInterface; |
||
| 12 | |||
| 13 | function __construct(MarkdownConvertorInterface $markdownConvertorInterface) |
||
| 16 | } |
||
| 17 | |||
| 18 | /** |
||
| 19 | * Parse the file's Markdown into HTML Content |
||
| 20 | */ |
||
| 21 | protected function getHTMLContent(string $fileContent): string |
||
| 22 | { |
||
| 23 | return $this->convertMarkdownToHTML($fileContent); |
||
| 24 | } |
||
| 25 | |||
| 26 | /** |
||
| 27 | * Parse the file's Markdown into HTML Content |
||
| 28 | */ |
||
| 29 | public function convertMarkdownToHTML(string $markdownContent): string |
||
| 32 | } |
||
| 33 | } |
||
| 34 |
This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.
This is most likely a typographical error or the method has been renamed.