mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-13 12:04:09 +02:00
Reformat codebase v4 (#2872)
Reformat code base to PSR12 Co-authored-by: rssbridge <noreply@github.com>
This commit is contained in:
@@ -1,15 +1,16 @@
|
||||
<?php
|
||||
|
||||
class TbibBridge extends GelbooruBridge {
|
||||
class TbibBridge extends GelbooruBridge
|
||||
{
|
||||
const MAINTAINER = 'mitsukarenai';
|
||||
const NAME = 'Tbib';
|
||||
const URI = 'https://tbib.org/';
|
||||
const DESCRIPTION = 'Returns images from given page';
|
||||
|
||||
const MAINTAINER = 'mitsukarenai';
|
||||
const NAME = 'Tbib';
|
||||
const URI = 'https://tbib.org/';
|
||||
const DESCRIPTION = 'Returns images from given page';
|
||||
|
||||
protected function buildThumbnailURI($element){
|
||||
$regex = '/\.\w+$/';
|
||||
return $this->getURI() . 'thumbnails/' . $element->directory
|
||||
. '/thumbnail_' . preg_replace($regex, '.jpg', $element->image);
|
||||
}
|
||||
protected function buildThumbnailURI($element)
|
||||
{
|
||||
$regex = '/\.\w+$/';
|
||||
return $this->getURI() . 'thumbnails/' . $element->directory
|
||||
. '/thumbnail_' . preg_replace($regex, '.jpg', $element->image);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user