Commit 57de25ef authored by Connor Tumbleson's avatar Connor Tumbleson Committed by StyleCI Bot

Apply fixes from StyleCI

[ci skip] [skip ci]
parent 56338123
Pipeline #1400 skipped
......@@ -54,17 +54,17 @@ class MessageGenerator
if ($old->solo_top1 < $new->solo_top1) {
$diff = $new->solo_top1 - $old->solo_top1;
$msg .= 'Holy shit. We have <strong>' . $diff . '</strong> ' . 'new SOLO TOP 1 (#1) FIRST PLACE'.'<br />';
$msg .= 'Holy shit. We have <strong>'.$diff.'</strong> '.'new SOLO TOP 1 (#1) FIRST PLACE'.'<br />';
}
if ($old->duo_top1 < $new->duo_top1) {
$diff = $new->duo_top1 - $old->duo_top1;
$msg .= 'Wow. <strong>' . $diff . '</strong> new 1st place in DUOS. NICE!!!!'.'<br />';
$msg .= 'Wow. <strong>'.$diff.'</strong> new 1st place in DUOS. NICE!!!!'.'<br />';
}
if ($old->squad_top1 < $new->squad_top1) {
$diff = $new->squad_top1 - $old->squad_top1;
$msg .= 'PANDAS GETTING ANOTHER <strong>' . $diff . '</strong> SQUAD WIN(s). #PNDA'.'<br />';
$msg .= 'PANDAS GETTING ANOTHER <strong>'.$diff.'</strong> SQUAD WIN(s). #PNDA'.'<br />';
}
$msg .= '<br />Random Stats:<br />';
......
......@@ -12,7 +12,7 @@ class MessageGenerator
* @var array
*/
private static $ignoredAttributes = ['avatar', 'rank_image', 'account_id', 'prestige',
'season', 'id', 'created_at', 'updated_at', 'inactive_counter', 'tier'];
'season', 'id', 'created_at', 'updated_at', 'inactive_counter', 'tier', ];
/**
* @param Account $account
......
......@@ -64,7 +64,7 @@ class ApiV1Controller extends Controller
return $this->_error('This username could not be found. We need EPIC username + platform of system (xbl/psn/pc');
}
$msg = 'Account (' . $id . ') was found. Added into system. `/bot fn` will work.';
$msg = 'Account ('.$id.') was found. Added into system. `/bot fn` will work.';
$client->setPandaAuth($user);
$client->getAccountRoyaleStats($account, $id);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment