@@ -17,7 +17,7 @@ |
||
17 | 17 | { |
18 | 18 | parent::configure(); // See BaseCommand.php |
19 | 19 | $this->setName('DeleteMissingAlerts') |
20 | - ->setDescription('Deletes all missing alerts'); |
|
20 | + ->setDescription('Deletes all missing alerts'); |
|
21 | 21 | |
22 | 22 | $this->alertRepo = $this->container->get('Ps2alerts\Api\Repository\AlertRepository'); |
23 | 23 | $this->alertProcessor = new DeleteAlertCommand(); |
@@ -13,11 +13,11 @@ discard block |
||
13 | 13 | { |
14 | 14 | parent::configure(); // See BaseCommand.php |
15 | 15 | $this->setName('Leaderboards:Players') |
16 | - ->setDescription('Processes player leaderboards') |
|
17 | - ->addArgument( |
|
16 | + ->setDescription('Processes player leaderboards') |
|
17 | + ->addArgument( |
|
18 | 18 | 'server', |
19 | 19 | InputArgument::REQUIRED |
20 | - ); |
|
20 | + ); |
|
21 | 21 | |
22 | 22 | $this->redis = $this->container->get('redis'); |
23 | 23 | } |
@@ -86,7 +86,7 @@ discard block |
||
86 | 86 | $query->cols(['*']); |
87 | 87 | $query->from('ws_players_total'); |
88 | 88 | if ($server != 0) { |
89 | - $query->where("playerServer = ?", $server); |
|
89 | + $query->where("playerServer = ?", $server); |
|
90 | 90 | } |
91 | 91 | $query->orderBy([$metric . ' DESC']); |
92 | 92 | $query->limit($limit); |
@@ -23,10 +23,10 @@ |
||
23 | 23 | 'Who do you want to greet?' |
24 | 24 | ) |
25 | 25 | ->addOption( |
26 | - 'yell', |
|
27 | - null, |
|
28 | - InputOption::VALUE_NONE, |
|
29 | - 'If set, the task will yell in uppercase letters' |
|
26 | + 'yell', |
|
27 | + null, |
|
28 | + InputOption::VALUE_NONE, |
|
29 | + 'If set, the task will yell in uppercase letters' |
|
30 | 30 | ) |
31 | 31 | ; |
32 | 32 | $this->config = $this->container->get('config'); |
@@ -13,7 +13,7 @@ discard block |
||
13 | 13 | { |
14 | 14 | parent::configure(); // See BaseCommand.php |
15 | 15 | $this->setName('Leaderboards:Outfits') |
16 | - ->setDescription('Processes all outfit leaderboards'); |
|
16 | + ->setDescription('Processes all outfit leaderboards'); |
|
17 | 17 | |
18 | 18 | $this->redis = $this->container->get('redis'); |
19 | 19 | } |
@@ -71,7 +71,7 @@ discard block |
||
71 | 71 | $query->cols(['*']); |
72 | 72 | $query->from('ws_players_total'); |
73 | 73 | if ($server !== 0) { |
74 | - $query->where('playerServer', $server); |
|
74 | + $query->where('playerServer', $server); |
|
75 | 75 | } |
76 | 76 | $query->orderBy([$metric . ' DESC']); |
77 | 77 | $query->limit($limit); |
@@ -16,7 +16,7 @@ |
||
16 | 16 | { |
17 | 17 | parent::configure(); // See BaseCommand.php |
18 | 18 | $this->setName('Leaderboards:Check') |
19 | - ->setDescription('Checks all leaderboards for updates'); |
|
19 | + ->setDescription('Checks all leaderboards for updates'); |
|
20 | 20 | |
21 | 21 | $this->config = $this->container->get('config'); |
22 | 22 | $this->redis = $this->container->get('redis'); |