return WCF::getTPL()->fetch('codeBBCodeTag');
}
else if ($parser->getOutputType() == 'text/simplified-html') {
+ /** @noinspection PhpUndefinedMethodInspection */
return WCF::getLanguage()->getDynamicVariable('wcf.bbcode.code.text', [
'highlighterTitle' => $className::getInstance()->getTitle(),
'lines' => substr_count($content, "\n") + 1
*/
protected function getConcatenatedParts($parts) {
$content = "";
+
+ /** @var AbstractMimePart $part */
foreach ($parts as $part) {
$content .= "--".$this->boundary."\r\n";
$content .= "content-type: ".$part->getContentType()."\r\n";