@@ -4,7 +4,6 @@ |
||
| 4 | 4 | |
| 5 | 5 | use Ps2alerts\Api\Command\BaseCommand; |
| 6 | 6 | use Ps2alerts\Api\Repository\AlertRepository; |
| 7 | -use Symfony\Component\Console\Input\InputArgument; |
|
| 8 | 7 | use Symfony\Component\Console\Input\InputInterface; |
| 9 | 8 | use Symfony\Component\Console\Output\OutputInterface; |
| 10 | 9 | |
@@ -9,15 +9,15 @@ |
||
| 9 | 9 | use Ps2alerts\Api\Command\TestCommand; |
| 10 | 10 | use Symfony\Component\Console\Application; |
| 11 | 11 | |
| 12 | -require __DIR__ . '/../vendor/autoload.php'; |
|
| 12 | +require __DIR__.'/../vendor/autoload.php'; |
|
| 13 | 13 | |
| 14 | 14 | // ENV loading |
| 15 | 15 | josegonzalez\Dotenv\Loader::load([ |
| 16 | - 'filepath' => __DIR__ . '/../.env', |
|
| 16 | + 'filepath' => __DIR__.'/../.env', |
|
| 17 | 17 | 'toEnv' => true |
| 18 | 18 | ]); |
| 19 | 19 | |
| 20 | -include __DIR__ . '/Command/CommandsCommon.php'; |
|
| 20 | +include __DIR__.'/Command/CommandsCommon.php'; |
|
| 21 | 21 | |
| 22 | 22 | $application = new Application(); |
| 23 | 23 | // List commands here |
@@ -11,7 +11,7 @@ |
||
| 11 | 11 | |
| 12 | 12 | protected function configure() |
| 13 | 13 | { |
| 14 | - $container = include __DIR__ . '/../container.php'; |
|
| 14 | + $container = include __DIR__.'/../container.php'; |
|
| 15 | 15 | |
| 16 | 16 | $this->container = $container; |
| 17 | 17 | $this->auraFactory = $container->get('Ps2alerts\Api\Factory\AuraFactory'); |
@@ -13,7 +13,6 @@ |
||
| 13 | 13 | use Ps2alerts\Api\Contract\RedisAwareInterface; |
| 14 | 14 | use Ps2alerts\Api\Contract\RedisAwareTrait; |
| 15 | 15 | use Ps2alerts\Api\Exception\InvalidArgumentException; |
| 16 | -use Psr\Http\Message\ServerRequestInterface; |
|
| 17 | 16 | use Psr\Http\Message\ResponseInterface; |
| 18 | 17 | |
| 19 | 18 | abstract class AbstractEndpointController implements |
@@ -77,7 +77,7 @@ |
||
| 77 | 77 | $query->where('playerServer', $server); |
| 78 | 78 | } |
| 79 | 79 | |
| 80 | - $query->orderBy([$metric . ' DESC']); |
|
| 80 | + $query->orderBy([$metric.' DESC']); |
|
| 81 | 81 | $query->limit($limit); |
| 82 | 82 | $query->offset($count); |
| 83 | 83 | |