Skip to content

Commit 1ef9ac5

Browse files
mychidarkogithub-actions[bot]
authored andcommitted
chore: fix styling
1 parent 7fcdb97 commit 1ef9ac5

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/Auth/User.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ public function verifyEmail(): bool
191191
}
192192

193193
if (!isset($this->data['email_verified_at'])) {
194-
$this->db->query("ALTER TABLE " . Config::get('db.table') . " ADD COLUMN email_verified_at TIMESTAMP NULL DEFAULT NULL")->execute();
194+
$this->db->query('ALTER TABLE ' . Config::get('db.table') . ' ADD COLUMN email_verified_at TIMESTAMP NULL DEFAULT NULL')->execute();
195195
}
196196

197197
$this->data['email_verified_at'] = tick()->format(Config::get('timestamps.format'));

src/Auth/UsesRoles.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public function assign($role): bool
3535
$roleKey = Config::get('roles.key');
3636

3737
if (!($this->data[$roleKey] ?? null)) {
38-
$this->db->query("ALTER TABLE " . Config::get('db.table') . " ADD COLUMN $roleKey TEXT NOT NULL DEFAULT '[]'")->execute();
38+
$this->db->query('ALTER TABLE ' . Config::get('db.table') . " ADD COLUMN $roleKey TEXT NOT NULL DEFAULT '[]'")->execute();
3939
}
4040

4141
try {

0 commit comments

Comments
 (0)