From 22cfdab2eede4c5ec1a9d41ee4bfda99c4ad577e Mon Sep 17 00:00:00 2001 From: HDVinnie Date: Mon, 29 Mar 2021 13:50:35 +0000 Subject: [PATCH] Apply fixes from StyleCI [ci skip] [skip ci] --- app/Http/Controllers/AnnounceController.php | 22 ++++++++++----------- app/Http/Livewire/TorrentRequestSearch.php | 8 ++++---- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/app/Http/Controllers/AnnounceController.php b/app/Http/Controllers/AnnounceController.php index 9346f5839..d1de894b4 100644 --- a/app/Http/Controllers/AnnounceController.php +++ b/app/Http/Controllers/AnnounceController.php @@ -482,17 +482,17 @@ class AnnounceController extends Controller return [ 'failure reason' => $trackerException->getMessage(), 'min interval' => self::MIN, - /** - * BEP 31: Failure Retry Extension. - * - * However most bittorrent client don't support it, so this feature is disabled default - * - libtorrent-rasterbar (e.g. qBittorrent, Deluge ) - * This library will obey the `min interval` key if exist or it will retry in 60s (By default `min interval`) - * - libtransmission (e.g. Transmission ) - * This library will ignore any other key if failed - * - * @see http://www.bittorrent.org/beps/bep_0031.html - */ + /** + * BEP 31: Failure Retry Extension. + * + * However most bittorrent client don't support it, so this feature is disabled default + * - libtorrent-rasterbar (e.g. qBittorrent, Deluge ) + * This library will obey the `min interval` key if exist or it will retry in 60s (By default `min interval`) + * - libtransmission (e.g. Transmission ) + * This library will ignore any other key if failed + * + * @see http://www.bittorrent.org/beps/bep_0031.html + */ //'retry in' => self::MIN ]; } diff --git a/app/Http/Livewire/TorrentRequestSearch.php b/app/Http/Livewire/TorrentRequestSearch.php index 07ce860b1..73ff17882 100644 --- a/app/Http/Livewire/TorrentRequestSearch.php +++ b/app/Http/Livewire/TorrentRequestSearch.php @@ -13,13 +13,13 @@ namespace App\Http\Livewire; +use App\Models\TorrentRequest; +use App\Models\TorrentRequestBounty; +use App\Models\TorrentRequestClaim; use App\Models\User; +use Illuminate\Support\Facades\DB; use Livewire\Component; use Livewire\WithPagination; -use App\Models\TorrentRequest; -use Illuminate\Support\Facades\DB; -use App\Models\TorrentRequestClaim; -use App\Models\TorrentRequestBounty; class TorrentRequestSearch extends Component {