Change comment for TextExtractor getNativeData to getText

Update TextExtractor comment, change Content::getNativeData to TextContent::getText.
Code got already updated.

Bug: T283667
Change-Id: I09e3c537c7e55737d79e69abdd3b7faf693e58cc
This commit is contained in:
russ-rogovetz 2022-03-01 22:22:58 +02:00
parent bd44a9a87e
commit 3505fa63f6

View file

@ -67,7 +67,7 @@ class TextExtractor {
/**
* Converts the given Content object to a string.
*
* This uses Content::getNativeData() if $content is an instance of TextContent,
* This uses TextContent::getText() if $content is an instance of TextContent,
* or Content::getTextForSearchIndex() otherwise.
*
* The hook AbuseFilterContentToString can be used to override this