mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-03 17:44:48 +02:00
Reformat codebase v4 (#2872)
Reformat code base to PSR12 Co-authored-by: rssbridge <noreply@github.com>
This commit is contained in:
parent
66568e3a39
commit
4f75591060
398 changed files with 58607 additions and 56442 deletions
|
@ -1,14 +1,15 @@
|
|||
<?php
|
||||
|
||||
class XbooruBridge extends GelbooruBridge {
|
||||
class XbooruBridge extends GelbooruBridge
|
||||
{
|
||||
const MAINTAINER = 'mitsukarenai';
|
||||
const NAME = 'Xbooru';
|
||||
const URI = 'https://xbooru.com/';
|
||||
const DESCRIPTION = 'Returns images from given page';
|
||||
|
||||
const MAINTAINER = 'mitsukarenai';
|
||||
const NAME = 'Xbooru';
|
||||
const URI = 'https://xbooru.com/';
|
||||
const DESCRIPTION = 'Returns images from given page';
|
||||
|
||||
protected function buildThumbnailURI($element){
|
||||
return $this->getURI() . 'thumbnails/' . $element->directory
|
||||
. '/thumbnail_' . $element->hash . '.jpg';
|
||||
}
|
||||
protected function buildThumbnailURI($element)
|
||||
{
|
||||
return $this->getURI() . 'thumbnails/' . $element->directory
|
||||
. '/thumbnail_' . $element->hash . '.jpg';
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue