mirror of
https://github.com/HDInnovations/UNIT3D-Community-Edition.git
synced 2026-04-28 22:41:13 -05:00
refactor: space after sole ! operators
- There should be a space after sole `!` operators
This commit is contained in:
@@ -75,7 +75,7 @@ class TorrentController extends BaseController
|
||||
{
|
||||
$user = $request->user();
|
||||
$requestFile = $request->file('torrent');
|
||||
if (!$request->hasFile('torrent')) {
|
||||
if (! $request->hasFile('torrent')) {
|
||||
return $this->sendError('Validation Error.', 'You Must Provide A Torrent File For Upload!');
|
||||
}
|
||||
|
||||
@@ -475,7 +475,7 @@ class TorrentController extends BaseController
|
||||
$torrent->where('torrents.seeders', '=', 0)->where('torrents.leechers', '>=', 1);
|
||||
}
|
||||
|
||||
if (!empty($torrent)) {
|
||||
if (! empty($torrent)) {
|
||||
return new TorrentsResource($torrent->paginate(25));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user