mirror of
https://github.com/HDInnovations/UNIT3D-Community-Edition.git
synced 2026-04-30 15:30:51 -05:00
PHP Style Change (Laravel Pint CI)
This commit is contained in:
@@ -70,8 +70,11 @@ class TorrentZipController extends Controller
|
||||
|
||||
$fileToDownload = Bencode::bencode($dict);
|
||||
|
||||
$filename = str_replace([' ', '/', '\\'], ['.', '-', '-'],
|
||||
'['.config('torrent.source').']'.$torrent->name.'.torrent');
|
||||
$filename = str_replace(
|
||||
[' ', '/', '\\'],
|
||||
['.', '-', '-'],
|
||||
'['.config('torrent.source').']'.$torrent->name.'.torrent'
|
||||
);
|
||||
|
||||
$zipArchive->addFromString($filename, $fileToDownload);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user