Use more standardized phpcs
This commit is contained in:
parent
a043071e3c
commit
c449ca5155
493 changed files with 1116 additions and 3903 deletions
|
@ -25,8 +25,6 @@ class CleanOrphanedApiKeysCommand extends Command
|
|||
|
||||
/**
|
||||
* CleanOrphanedApiKeysCommand constructor.
|
||||
*
|
||||
* @param \Pterodactyl\Contracts\Repository\ApiKeyRepositoryInterface $repository
|
||||
*/
|
||||
public function __construct(ApiKeyRepositoryInterface $repository)
|
||||
{
|
||||
|
@ -44,10 +42,11 @@ class CleanOrphanedApiKeysCommand extends Command
|
|||
{
|
||||
$count = $this->repository->findCountWhere([['key_type', '=', ApiKey::TYPE_NONE]]);
|
||||
$continue = $this->confirm(
|
||||
'This action will remove ' . $count . ' keys from the database. Are you sure you wish to continue?', false
|
||||
'This action will remove ' . $count . ' keys from the database. Are you sure you wish to continue?',
|
||||
false
|
||||
);
|
||||
|
||||
if (! $continue) {
|
||||
if (!$continue) {
|
||||
return null;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue