[TOOLS] Continue raising PHPStan level to 6

This commit is contained in:
2022-10-19 22:39:17 +01:00
parent c31f3d4997
commit 2fd46ca886
89 changed files with 646 additions and 278 deletions

View File

@@ -43,7 +43,8 @@ class MarkdownNotes extends Plugin
$types['Markdown'] = 'text/markdown';
return Event::next;
}
public function onRenderNoteContent($content, $content_type, &$rendered): EventResult
public function onRenderNoteContent(string $content, string $content_type, string &$rendered): EventResult
{
if ($content_type !== 'text/markdown') {
return Event::next;