X-Git-Url: http://git.cyclocoop.org//%27http:/jquery.khurshid.com/ifixpng.php/%27?a=blobdiff_plain;f=includes%2Fcontent%2FTextContentHandler.php;h=4a7944caeadb535bea9846c65222f3724a7e1593;hb=255d76f2a13a8378ded9f0cf1c2bb172f7f07a5b;hp=09cdcee143813fb6e648a790fbac9a7a2eb36844;hpb=75d8b6c6cd2b70d98242e1246678c12e973a5dfa;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/content/TextContentHandler.php b/includes/content/TextContentHandler.php index 09cdcee143..4a7944caea 100644 --- a/includes/content/TextContentHandler.php +++ b/includes/content/TextContentHandler.php @@ -30,17 +30,15 @@ */ class TextContentHandler extends ContentHandler { - // @codingStandardsIgnoreStart bug 57585 public function __construct( $modelId = CONTENT_MODEL_TEXT, $formats = [ CONTENT_FORMAT_TEXT ] ) { parent::__construct( $modelId, $formats ); } - // @codingStandardsIgnoreEnd /** * Returns the content's text as-is. * * @param Content $content - * @param string $format The serialization format to check + * @param string $format The serialization format to check * * @return mixed */ @@ -150,8 +148,11 @@ class TextContentHandler extends ContentHandler { return $fields; } - public function getDataForSearchIndex( WikiPage $page, ParserOutput $output, - SearchEngine $engine ) { + public function getDataForSearchIndex( + WikiPage $page, + ParserOutput $output, + SearchEngine $engine + ) { $fields = parent::getDataForSearchIndex( $page, $output, $engine ); $fields['language'] = $this->getPageLanguage( $page->getTitle(), $page->getContent() )->getCode();