[NineGagBridge] Lint previous commit

This commit is contained in:
Eugene Molotov 2020-10-15 14:18:46 +05:00 committed by GitHub
parent a332a5a414
commit 5e4f3c351e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -148,7 +148,7 @@ class NineGagBridge extends BridgeAbstract {
} }
if (!$AvoidElement) { if (!$AvoidElement) {
$item['uri'] = preg_replace("/^http:/i", "https:", $post['url']); $item['uri'] = preg_replace('/^http:/i', 'https:', $post['url']);
$item['title'] = $post['title']; $item['title'] = $post['title'];
$item['content'] = self::getContent($post); $item['content'] = self::getContent($post);
$item['categories'] = self::getCategories($post); $item['categories'] = self::getCategories($post);