mirror of
https://github.com/HDInnovations/UNIT3D-Community-Edition.git
synced 2026-04-23 11:39:19 -05:00
PSR12 Linting
This commit is contained in:
committed by
github-actions[bot]
parent
0cd9988d28
commit
f6bf6a326e
@@ -282,13 +282,17 @@ class TorrentController extends BaseController
|
||||
if ($free >= 1 && $featured == 0) {
|
||||
if ($torrent->fl_until === null) {
|
||||
$this->chatRepository->systemMessage(
|
||||
\sprintf('Ladies and Gents, [url=%s/torrents/',
|
||||
$appurl).$torrent->id.']'.$torrent->name.'[/url] has been granted '.$free.'% FreeLeech! Grab It While You Can! :fire:'
|
||||
\sprintf(
|
||||
'Ladies and Gents, [url=%s/torrents/',
|
||||
$appurl
|
||||
).$torrent->id.']'.$torrent->name.'[/url] has been granted '.$free.'% FreeLeech! Grab It While You Can! :fire:'
|
||||
);
|
||||
} else {
|
||||
$this->chatRepository->systemMessage(
|
||||
\sprintf('Ladies and Gents, [url=%s/torrents/',
|
||||
$appurl).$torrent->id.']'.$torrent->name.'[/url] has been granted '.$free.'% FreeLeech for '.$request->input('fl_until').' days. :stopwatch:'
|
||||
\sprintf(
|
||||
'Ladies and Gents, [url=%s/torrents/',
|
||||
$appurl
|
||||
).$torrent->id.']'.$torrent->name.'[/url] has been granted '.$free.'% FreeLeech for '.$request->input('fl_until').' days. :stopwatch:'
|
||||
);
|
||||
}
|
||||
}
|
||||
@@ -296,13 +300,17 @@ class TorrentController extends BaseController
|
||||
if ($doubleup == 1 && $featured == 0) {
|
||||
if ($torrent->du_until === null) {
|
||||
$this->chatRepository->systemMessage(
|
||||
\sprintf('Ladies and Gents, [url=%s/torrents/',
|
||||
$appurl).$torrent->id.']'.$torrent->name.'[/url] has been granted Double Upload! Grab It While You Can! :fire:'
|
||||
\sprintf(
|
||||
'Ladies and Gents, [url=%s/torrents/',
|
||||
$appurl
|
||||
).$torrent->id.']'.$torrent->name.'[/url] has been granted Double Upload! Grab It While You Can! :fire:'
|
||||
);
|
||||
} else {
|
||||
$this->chatRepository->systemMessage(
|
||||
\sprintf('Ladies and Gents, [url=%s/torrents/',
|
||||
$appurl).$torrent->id.']'.$torrent->name.'[/url] has been granted Double Upload for '.$request->input('du_until').' days. :stopwatch:'
|
||||
\sprintf(
|
||||
'Ladies and Gents, [url=%s/torrents/',
|
||||
$appurl
|
||||
).$torrent->id.']'.$torrent->name.'[/url] has been granted Double Upload for '.$request->input('du_until').' days. :stopwatch:'
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user