Skip to content

Commit

Permalink
Merge pull request #470 from HDInnovations/analysis-8wPdAe
Browse files Browse the repository at this point in the history
(Update) Apply Fixes From StyleCI 🚀
  • Loading branch information
HDVinnie authored Dec 18, 2018
2 parents c41babb + d940d1e commit 37c5d35
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 15 deletions.
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

0 comments on commit 37c5d35

Please sign in to comment.