Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Apply fixes from StyleCI #470

Merged
merged 1 commit into from
Dec 18, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 12 additions & 13 deletions app/Console/Commands/AutoNerdStat.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
use App\User;
use App\Torrent;
use App\Warning;
use Carbon\Carbon;
use Illuminate\Console\Command;
use App\Repositories\ChatRepository;

Expand Down Expand Up @@ -89,18 +88,18 @@ public function handle()

// Select A Random Nerd Stat
$statArray = [
"In The Last 24 Hours {$logins} Unique Users Have Logged Into ".config('other.title')."!",
"In The Last 24 Hours {$uploads} Torrents Have Been Uploaded To ".config('other.title')."!",
"In The Last 24 Hours {$users} Users Have Registered To ".config('other.title')."!",
"There Are Currently {$fl} Freeleech Torrents On ".config('other.title')."!",
"There Are Currently {$du} DoubleUpload Torrents On ".config('other.title')."!",
"Currently {$seeders->name} Is The Best Seeded Torrent On ".config('other.title')."!",
"Currently {$leechers->name} Is The Most Leeched Torrent On ".config('other.title')."!",
"Currently {$snatched->name} Is The Most Snatched Torrent On ".config('other.title')."!",
"Currently {$banker->username} Is The Top BON Holder On ".config('other.title')."!",
"Currently There Is {$peers} Peers On ".config('other.title')."!",
"In The Last 24 Hours {$bans} Users Have Been Banned From ".config('other.title')."!",
"In The Last 24 Hours {$warnings} Hit and Run Warnings Have Been Issued On ".config('other.title')."!",
"In The Last 24 Hours {$logins} Unique Users Have Logged Into ".config('other.title').'!',
"In The Last 24 Hours {$uploads} Torrents Have Been Uploaded To ".config('other.title').'!',
"In The Last 24 Hours {$users} Users Have Registered To ".config('other.title').'!',
"There Are Currently {$fl} Freeleech Torrents On ".config('other.title').'!',
"There Are Currently {$du} DoubleUpload Torrents On ".config('other.title').'!',
"Currently {$seeders->name} Is The Best Seeded Torrent On ".config('other.title').'!',
"Currently {$leechers->name} Is The Most Leeched Torrent On ".config('other.title').'!',
"Currently {$snatched->name} Is The Most Snatched Torrent On ".config('other.title').'!',
"Currently {$banker->username} Is The Top BON Holder On ".config('other.title').'!',
"Currently There Is {$peers} Peers On ".config('other.title').'!',
"In The Last 24 Hours {$bans} Users Have Been Banned From ".config('other.title').'!',
"In The Last 24 Hours {$warnings} Hit and Run Warnings Have Been Issued On ".config('other.title').'!',
config('other.title')." Birthday Is {$bday}!",
config('other.title').' Is King!',
];
Expand Down
1 change: 0 additions & 1 deletion app/Helpers/Helpers.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
* @license https://www.gnu.org/licenses/agpl-3.0.en.html/ GNU Affero General Public License v3.0
* @author HDVinnie
*/

if (! function_exists('appurl')) {
function appurl()
{
Expand Down
2 changes: 1 addition & 1 deletion app/Http/Controllers/UserController.php
Original file line number Diff line number Diff line change
Expand Up @@ -808,7 +808,7 @@ public function downloadHistoryTorrents($username, $id)
}

/**
* Get A Users Graveyard Resurrections
* Get A Users Graveyard Resurrections.
*
* @param $username
* @param $id
Expand Down