Skip to content

Commit c167bf9

Browse files
committed
fix linting
1 parent 4da5646 commit c167bf9

1 file changed

Lines changed: 5 additions & 6 deletions

File tree

app/Console/Commands/User/CheckUserEmailExist.php

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
use Illuminate\Console\Command;
77
use PDO;
88

9-
class CheckUserEmailExist extends Command{
10-
9+
class CheckUserEmailExist extends Command {
1110
protected $signature = 'wbs-user:check-email {emails*}';
11+
1212
protected $description = 'Check if emails exist in apidb.users or any MediaWiki user table';
1313

1414
public function handle(): int {
@@ -25,15 +25,15 @@ public function handle(): int {
2525
foreach ($emails as $email) {
2626
$found = false;
2727

28-
//Check apidb.users
28+
// Check apidb.users
2929
if (User::whereEmail($email)->exists()) {
3030
$this->line("FOUND: {$email} in apidb.users");
3131
$found = true;
3232
}
3333

34-
//Check MediaWiki databases
34+
// Check MediaWiki databases
3535
foreach ($mwDatabases as $dbName) {
36-
//fetch user table name
36+
// fetch user table name
3737
$tableStmt = $pdo->prepare("
3838
SELECT TABLE_NAME
3939
FROM INFORMATION_SCHEMA.TABLES
@@ -72,5 +72,4 @@ public function handle(): int {
7272

7373
return 0;
7474
}
75-
7675
}

0 commit comments

Comments
 (0)